Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB Deployment with Jar file?

 
inr mohan
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

Thanks
Inr
 
Madhan Sundararajan Devaki
Ranch Hand
Posts: 312
Java MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe, you can deploy EJB jar directly in an Application Server.
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, This is absolutely possible.

 
Rufat Babakishiyev
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can deploy EJB jar from server console. It is possible.
 
Askar Akhmerov
Greenhorn
Posts: 20
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic