大约有 40,000 项符合查询结果(耗时:0.0485秒) [XML]

https://stackoverflow.com/ques... 

What to learn for making Java web applications in Java EE 6? [closed]

...use it provides really nice standard APIs for all your needs (Servlet 3.0, JSF 2.0, JPA 2.0, EJB 3.1 lite, Bean Validation 1.0, CDI, etc), because these APIs are all more than decent, because there is nothing really wrong in learning them, because this is already a big task, because you have to star...
https://stackoverflow.com/ques... 

How to run a background task in a servlet based web application?

... This is recipe for trouble. An elaborate explanation can be found in this JSF-related answer on the same question: Spawning threads in a JSF managed bean for scheduled tasks using a timer. share | ...
https://stackoverflow.com/ques... 

What exactly is Java EE?

... Java EE. E.g. "Spring" (standalone) competes EJB/JTA, Spring MVC competes JSF/JAX-RS, Spring DI/IoC/AOP competes CDI, Spring Security competes JAAS/JASPIC, etc. Back during the old J2EE/EJB2 times, the EJB2 API was terrible to implement and maintain. Spring was then a much better alternative to EJB...
https://stackoverflow.com/ques... 

Where to use EJB 3.1 and CDI?

...oped, per HTTP Session @SessionScoped, per application @ApplicationScoped, JSF Conversation @ConversationScoped, or per your custom scope implementation). In EJB the container looks also into a hashmap if the bean is of type @Stateful. An @Stateful bean can also use any of the above scope annotati...
https://stackoverflow.com/ques... 

When and why JPA entities should implement Serializable interface?

...ntities are being transferred implicitly somewhere. I use hibernate+spring+jsf and Tomcat. Where in this chain transferring can take place? – Roman Jan 7 '10 at 14:31 ...
https://stackoverflow.com/ques... 

Cross field validation with Hibernate Validator (JSR 303)

...olation(); Gives the possibility of highlighting the right field (if only JSF would support it). – Peter Davis Apr 13 '11 at 15:25 8 ...
https://stackoverflow.com/ques... 

simple HTTP server in Java using only Java SE API

...entation of a certain Java API, such as GlassFish (Java EE impl), Mojarra (JSF impl), Jersey (JAX-RS impl), etc. share | improve this answer | follow | ...
https://stackoverflow.com/ques... 

Stateless and Stateful Enterprise Java Beans

...g them into classes that are multithreaded in nature, such as Servlets and JSF managed beans (you don't want it to be shared by all clients). If you want to use SFSB in your web application, then you need to perform a JNDI lookup and store the returned EJB instance in the HttpSession object for futu...
https://stackoverflow.com/ques... 

How do servlets work? Instantiation, sessions, shared variables and multithreading

...object itself represents the "scope" in bean management frameworks such as JSF, CDI, Spring, etc. Those frameworks store their scoped beans as an attribute of its closest matching scope. Thread Safety That said, your major concern is possibly thread safety. You should now know that servlets and f...
https://stackoverflow.com/ques... 

How do I import the javax.servlet API in my Eclipse project?

...JBoss AS/WildFly are more than just a servletcontainer, they also supports JSF, EJB, JPA and all other Java EE fanciness. See also a.o. What exactly is Java EE? Integrate Server in Eclipse and associate it with Project Once having installed both Eclipse for Enterprise Java and a servletcontainer on...