• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic