Stateless Session Bean?

Neither nor. EJBs belong in standard JAR files (with a META-INF/ejb-jar. Xml).

In order to use EJBs from a WAR you pack these two archives in an EAR.

Neither nor. EJBs belong in standard JAR files (with a META-INF/ejb-jar. Xml).

In order to use EJBs from a WAR you pack these two archives in an EAR. Since this is not really convenient it's possible since EJB 3.1 to package EJBs in the WAR.

Stateless Session Beans (SLSB) are packaged in an EJB-JAR (which is a regular JAR file) including or not an optional deployment descriptor. EJB-JARs and WARs are assembled in an EAR for deployment. See this article by Debu Panda and Rezza Rahmann (which is actually an extract from the excellent EJB 3 in Action): Packaging EJB 3 Applications.

With EJB 3.1/Java EE 6 you don't need EAR files any more, you can also put your session beans directly in a WAR file (as a separate . Class file in WEB-INF/classes, or inside a JAR file within the WAR file's WEB-INF/lib directory). See e.g. java.sun.com/developer/technicalArticles....

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions