  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | 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 | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Pattern BusinessDeligation | Pattern BusinessDeligation 2003-07-31 - By Pradeep Kumar
Back In that case, will you be doing a JNDI look up for Business delegate classes instead of home interface of EJB? -- --Original Message-- -- From: Giovani Salvador [mailto:giovani-salvador@(protected)] Sent: Thursday, July 31, 2003 6:31 PM To: J2EEPATTERNS-INTEREST@(protected) Subject: Re: Pattern BusinessDeligation Are you talknig about businness delegate design pattern? AFAIK, you put businness delegate in front of your businness components, the ejb components in your case. I think it�s more clear to put your businness delegate in the same environment that your ejb�s are. Imagine that your ejb components will be called now from a swing application and not from a web client. You will not distribute your businness delegate component with each client that will access your businness components, ok? Giovani Salvador -- -- Original Message -- --
From: Madhu V <mailto:madhu.v@(protected)> To: J2EEPATTERNS-INTEREST@(protected) Sent: Thursday, July 31, 2003 8:09 AM Subject: Pattern BusinessDeligation Hi All, When implementing business deligation in J2EE Application where my jar of Enterprise JavaBeans (EJB's) will be deployed in one system and my war file will be deployed in other system, where exactly i put my businessdelegate classes?. Am i right if i put those classes in .war file? Can anybody clarify my Question Thanks in Advance Madhu V ==================================================================== Community Web Site (Core J2EE Patterns Catalog - Online Version): http://java.sun.com/blueprints/corej2eepatterns Getting Started (Beta Version): http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/ Get the book: http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20 (See http://tte-20.ora-code.com) List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
==================================================================== Community Web Site (Core J2EE Patterns Catalog - Online Version): http://java.sun.com/blueprints/corej2eepatterns Getting Started (Beta Version): http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/ Get the book: http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20 (See http://tte-20.ora-code.com) List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
==================================================================== Community Web Site (Core J2EE Patterns Catalog - Online Version): http://java.sun.com/blueprints/corej2eepatterns Getting Started (Beta Version): http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/ Get the book: http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20 (See http://tte-20.ora-code.com) List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html xmlns:v="urn:schemas-microsoft-com:vml" 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=iso-8859 (See http://iso-8859.ora-code.com)-1">
<meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 9"> <meta name=Originator content="Microsoft Word 9"> <link rel=File-List href="cid:filelist.xml@(protected)"> <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:Zoom>0</w:Zoom> <w:DocumentKind>DocumentEmail</w:DocumentKind> <w:EnvelopeVis/> </w:WordDocument> </xml><![endif]--> <style> <!-- /* Font Definitions */ @(protected) {font-family:Tahoma; panose-1 (See http://ose-1.ora-code.com):2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:553679495 -2147483648 8 0 66047 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline; text-underline:single;} p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig {margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} span.EmailStyle17 {mso-style-type:personal-reply; mso-ansi-font-size:10.0pt; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:navy;} @(protected) Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1027"/> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1"/> </o:shapelayout></xml><![endif]--> </head>
<body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial> <span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>In that case, will you be doing a JNDI look up for Business delegate classes instead of home interface of EJB? <o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial> <span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:black'>---- -Original Message-- --<br> <b><span style='font-weight:bold'>From:</span></b> Giovani Salvador [mailto:giovani-salvador@(protected)]<br> <b><span style='font-weight:bold'>Sent:</span></b> Thursday, July 31, 2003 6:31 PM<br> <b><span style='font-weight:bold'>To:</span></b> J2EEPATTERNS-INTEREST@(protected)<br> <b><span style='font-weight:bold'>Subject:</span></b> Re: Pattern BusinessDeligation</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman" ><span style='font-size:12.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p>< /span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Are you talknig about businness delegate design pattern? AFAIK, you put businness delegate in front of your businness components, the ejb components in your case. I think it�s more clear to put your businness delegate in the same environment that your ejb�s are.</span></font><font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Imagine that your ejb components will be called now from a swing application and not from a web client. You will not distribute your businness delegate component with each client that will access your businness components, ok?</span></font> <font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p>< /span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span> </font><font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p>< /span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Giovani Salvador</span></font><font color=black><span style='color:black;mso-color-alt: windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span> </font><font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p>< /span></font></p>
<div style='border:none;border-left:solid black 1.5pt;padding:0in 0in 0in 4.0pt '>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>-- -- Original Message -- -- </span></font><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black;mso-color-alt:windowtext' ><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;background:#E4E4E4;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><b><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black; font-weight:bold'>
<div style='font-color:black'>From:</span></font></b><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'> <a href="mailto:madhu.v@(protected)" title="madhu.v@(protected)">Madhu V</a> < /span></font></div>
<font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family: Arial;color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><b><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black; font-weight:bold'>To:</span></font></b><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'> <a href="mailto:J2EEPATTERNS-INTEREST@(protected)" title="J2EEPATTERNS-INTEREST@(protected)">J2EEPATTERNS-INTEREST@(protected)< /a> </span></font><font size=2 color=black face=Arial><span style='font-size:10.0pt; font-family:Arial;color:black;mso-color-alt:windowtext'><o:p></o:p></span>< /font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><b><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black; font-weight:bold'>Sent:</span></font></b><font size=2 color=black face=Arial> <span style='font-size:10.0pt;font-family:Arial;color:black'> Thursday, July 31, 2003 8:09 AM</span></font><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black;mso-color-alt:windowtext' ><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><b><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black; font-weight:bold'>Subject:</span></font></b><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'> Pattern BusinessDeligation</span></font><font size=2 color=black face=Arial> <span style='font-size:10.0pt;font-family:Arial;color:black;mso-color-alt:windowtext' ><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;color:black'><![if !supportEmptyParas]> <![endif]></span></font><font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p>< /span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Hi All, </span></font><font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p>< /span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span> </font><font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p>< /span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>When implementing business deligation in J2EE Application where my jar of Enterprise JavaBeans (EJB's) will be deployed in one system and my war file will be deployed in other system, where exactly i put my businessdelegate classes?. Am i right if i put those classes in .war file?< /span></font><font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p>< /span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span> </font><font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p>< /span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Can anybody clarify my Question</span></font><font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span> </font><font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p>< /span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Thanks in Advance</span></font><font color=black><span style='color:black;mso-color -alt: windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Madhu V </span></font><font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p>< /span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:39.75pt;border:none;mso-border-left-alt:solid black 1.5pt; padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;color:black'>============= ======================================================= Community Web Site (Core J2EE Patterns Catalog - Online Version): http://java.sun.com/blueprints/corej2eepatterns Getting Started (Beta Version): http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/ Get the book: http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20 (See http://tte-20.ora-code.com) List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected) </span></font><font color=black><span style='color:black; mso-color-alt:windowtext'><o:p></o:p></span></font></p>
</div>
</div>
<p></p><p>DISCLAIMER:<br>This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.</body>
</html> ==================================================================== Community Web Site (Core J2EE Patterns Catalog - Online Version): http://java.sun.com/blueprints/corej2eepatterns Getting Started (Beta Version): http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/ Get the book: http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20 (See http://tte-20.ora-code.com) List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected) ==================================================================== Community Web Site (Core J2EE Patterns Catalog - Online Version): http://java.sun.com/blueprints/corej2eepatterns Getting Started (Beta Version): http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/ Get the book: http://www.amazon.com/exec/obidos/ASIN/0130648841/corej2eepatte-20 (See http://tte-20.ora-code.com) List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|
 |