  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Design Question RMI or WebService | Design Question RMI or WebService 2005-02-23 - By Kurien Joseph
Back Hi Folks,
I have a design question where I would like some feedback. I want an applet to communicate an J2EE server behind a firewall. The scheme of communication between these two entities will be push and pull (where applet can push and pull data from the J2EE server).
At one time I had implemented RMI mechanism but it was a situation without firewalls. I know that through RMI you can tunnel across firewall.
Which of these two schemes is the best?
* .Use RMI to have applets call EJBs ? * Use Webservices to implement SOAP between applet and EJB?
Another requirement is that the data passed between the applet and J2EE server is considerably high. I have heard arguments that using SOAP will not scale well.
Is there any alternate option than the above?
Thanks
Kurien
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas -microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @(protected) {font-family:Wingdings; panose-1 (See http://ose-1.ora-code.com):5 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @(protected) Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} /* List Definitions */ @(protected) l0 {mso-list-id:1262176666; mso-list-type:hybrid; mso-list-template-ids:-1685811758 1693110448 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @(protected) l0:level1 {mso-level-start-at:4330; mso-level-number-format:bullet; mso-level-text:\F0B7; mso-level-tab-stop:.5in; mso-level-number-position:left; text-indent:-.25in; font-family:Symbol; mso-fareast-font-family:"Times New Roman"; mso-bidi-font-family:Arial;} ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Hi Folks,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'> I have a design question where I would like some feedback. I want an applet to communicate an J2EE server behind a firewall. The scheme of communication between these two entities will be push and pull (where applet can push and pull data from the J2EE server).<o:p></o:p></span></font>< /p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>At one time I had implemented RMI mechanism but it was a situation without firewalls. I know that through RMI you can tunnel across firewall.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Which of these two schemes is the best?<o:p></o:p></span>< /font></p>
<ul style='margin-top:0in' type=disc> <li class=MsoNormal style='mso-list:l0 level1 lfo1'><font size=2 face=Arial> <span style='font-size:10.0pt;font-family:Arial'>.Use RMI to have applets call EJBs ?<o:p></o:p></span></font></li> <li class=MsoNormal style='mso-list:l0 level1 lfo1'><font size=2 face=Arial> <span style='font-size:10.0pt;font-family:Arial'>Use Webservices to implement SOAP between applet and EJB?<o:p></o:p></span></font></li> </ul>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Another requirement is that the data passed between the applet and J2EE server is considerably high. I have heard arguments that using SOAP will not scale well.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Is there any alternate option than the above?<o:p></o:p>< /span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Thanks<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Kurien<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'> <o:p></o:p></span></font></p>
</div>
</body>
</html> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|
 |