• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to integrate web module and ejb module on different servers  RSS feed

 
Anil Prasad
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to deploy my web module and ejb module on same/different type of servers on different mechines.Can any body help me I don't understand how
to integrate them.please help me .

Thanks in advance.
 
Edvins Reisons
Ranch Hand
Posts: 364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each web technology has its own way of integration with the rest of the application. Which one are you using ?

As a generic answer, you put an @EJB annotation into an appropriate place of your web module
 
Rajesh Agarwal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this case you would need to have separate .war and .jar files. Deploy the .war file in the webserver in 1 machine and deploy the .jar file in the app server in another machine. While accessing the bean from the web application you might have to specify the url of the initial context factory to access to bean. Also you may have to pass the credentials of the LDAP.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!