• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Problem in Clubbing Web module and EJB module

 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kyle
I have an application where in Web module already developed and deployed in websphere 4.0 and now we have developed EJB's and deployed on same sever.How to provide a EJB reference to Web module. The web module has to lookup Session Bean in JavaBean.
Is it required to make a single EAR file?
Is it possible to provide a Session Bean reference to Web module in Console?
Advance thanks.
venkat from sonata
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by kiran sonata:
Hi Kyle
I have an application where in Web module already developed and deployed in websphere 4.0 and now we have developed EJB's and deployed on same sever.How to provide a EJB reference to Web module. The web module has to lookup Session Bean in JavaBean.
Is it required to make a single EAR file?
Is it possible to provide a Session Bean reference to Web module in Console?
Advance thanks.
venkat from sonata


The answer to the first question is yes, they must be in the same ear. The answer to the second question is not necessarily; your web pages (Servlets or JSP's) can lookup the EJB by its global name in JNDI, but it's better if you do set up local references and use them instead.
To find out how to use local references, read Richard Monson-Haefel's book on EJB's.
Kyle
 
reply
    Bookmark Topic Watch Topic
  • New Topic