File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes EJB Deployment with Jar file? 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 with Jar file?" Watch "EJB Deployment with Jar file?" New topic

EJB Deployment with Jar file?

inr mohan
Ranch Hand

Joined: May 11, 2005
Posts: 61

I would like to know if we can just deploy the EJB jar files directly into the application server, without creating any EAR file. Please clarify.

Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

I believe, you can deploy EJB jar directly in an Application Server.

Not many get the right opportunity !
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Yes, This is absolutely possible.

Rufat Babakishiyev

Joined: Jul 25, 2011
Posts: 7
You can deploy EJB jar from server console. It is possible.
Askar Akhmerov

Joined: Apr 13, 2010
Posts: 20

You are able to deploy ejb-jar to an application server.
However, some of them would require you to provide some extra configuration files.

This trick works 100% with Glassfish. You can even annotate your EJB with JAX-WS annotations and have a web-service.
I agree. Here's the link:
subject: EJB Deployment with Jar file?
It's not a secret anymore!