aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB deployment as JAR and EAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB deployment as JAR and EAR" Watch "EJB deployment as JAR and EAR" New topic
Author

EJB deployment as JAR and EAR

Vasanth Raju
Greenhorn

Joined: Mar 01, 2008
Posts: 4
While deploying an EJB(Session beans) in an Enterprise application project as an EAR with other webcomponents, we pack all the stuff(web+EJB) into one single EAR.
This being the case what is the advantage of using EJB(Session beans) here
as the power of ejb(Resuable component) comes into picture only when deployed seperately as a JAR in a remote client.
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3710
    
    5

Can you clarify your question, I'm not sure I follow what you're asking.


My Blog: Down Home Country Coding with Scott Selikoff
Amit M Tank
Ranch Hand

Joined: Mar 28, 2004
Posts: 257
You can deploy an EJB separately also. I mean you can deploy EJB as a jar file as well.
[ May 28, 2008: Message edited by: Amit M Tank ]

Amit Tank
Linked In
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30776
    
157

Originally posted by Amit M Tank:
You can deploy an EJB separately also. I mean you can deploy EJB as a jar file as well.

Do you know of a server that supports this. I didn't know you could do this.

EJBs can be reused regardless. And ejb-jar can be deployed in another ear. Or it can be called remotely.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Nikos Pougounias
Ranch Hand

Joined: Jan 16, 2008
Posts: 110
Originally posted by Jeanne Boyarsky:

Do you know of a server that supports this.


JBoss.


Nikos' Java blog
prashant k. gupta
Ranch Hand

Joined: May 15, 2008
Posts: 62
Originally posted by Jeanne Boyarsky:

Do you know of a server that supports this.




IBM WebSphere
Amit M Tank
Ranch Hand

Joined: Mar 28, 2004
Posts: 257
Even Weblogic
 
Consider Paul's rocket mass heater.
 
subject: EJB deployment as JAR and EAR