Startup bean not called

前端 未结 4 1579
情深已故
情深已故 2021-02-09 21:00

I created a Java Web Application Project in NetBeans, and created a startup bean in it:

package malibu.util;

import javax.annotation.PostConstruct;
import javax         


        
4条回答
  •  广开言路
    2021-02-09 21:29

    http://docs.oracle.com/javaee/6/api/javax/ejb/Startup.html

    Mark a singleton bean for eager initialization during the application startup sequence.

提交回复
热议问题