aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes EJB replace CGI? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "EJB replace CGI?" Watch "EJB replace CGI?" New topic
Author

EJB replace CGI?

lucy hu
Ranch Hand

Joined: Aug 21, 2000
Posts: 60
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).]
herve attia
Ranch Hand

Joined: Sep 28, 2001
Posts: 138
Originally posted by lucy hu:
How can we use EJBwhat if the firewall doesn't allow IIOP pass through?

httptunelling
g madhava
Ranch Hand

Joined: Sep 14, 2001
Posts: 85
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.
Jim Baiter
Ranch Hand

Joined: Jan 05, 2001
Posts: 532
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB replace CGI?
 
Similar Threads
another big book to buy!
EJBs to replace CGI? - doubtful.
input validation?
Java & CGI
Java CGI