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

EJB replace CGI?

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Suppose that the business logic of an existing application is implemented using a set of CGI programs. Which Java technologies can be used to implement the CGI programs as a Java-based solution.
A. JMAPI
B. Screen scrapers.
C. Enterprise JavaBeans
D. Servlets
The answer is C and D, Servlets is fine, but How can we use EJB if the firewall doesn't allow IIOP pass through?
Lucy
[This message has been edited by lucy hu (edited November 09, 2001).]
 
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by lucy hu:
How can we use EJBwhat if the firewall doesn't allow IIOP pass through?


httptunelling
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A bit to clarify Lucy.The protocol which is going to be used is RMI-IIOP[not IIOP] i.e RMI over IIOP. The RMI protocol adjusts itself to use HTTP tunneling.
 
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Many times, the EJBs will be used in conjunction with servlets. So a servlet receives an HTTP request, calls a method on a Session bean which calls a method on an Entity bean which gets data that the Session bean passes back to the servlet and then back out HTTP.
There are also ways EJBs can communicate with out servlets. SOAP is a popular way which supports both HTTP and MIME protocols. There are also ways JMS (Java Message Service) can be used by beans, etc.
 
No more fooling around. Read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic