Hi there, I would also agree that the second approach would be the appropriate solution. Solve today's problem today. But design it in such a way that it is flexible enough
to accomodate your future architectural needs. And that really is the essence of your entire problem. Do your analysis and design, figure out what functionality belongs where and in the back of your mind keep the idea of possibly needing to accomodate other clients in the future. If you put your business logic in your EJBs there should be absolutely no problem to create a JSP/servlet based UI that performs the same UI functionality of your Swing based app. Obviously you've already determined that you need the power of Swing over the lesser UI capabilities, or hacky capabilities of a web browser. It also will be trivial for you to expose those EJBs as web services (especially using WLS 7.0) if in the future those client types are required to have access to the application logic. Making an applet that communicates via a servlet or web services to a Java based server doesn't make sense to me unless you have firewall concerns or other variables that would make this the right decision but you did not indicate such limitations. The right tool for the job. The right design will not limit your ability to accomodate other UIs in the future with minimal work. Just my $.02 Good luck. -Michael --- boutte <[EMAIL PROTECTED]> wrote: > Hi, > > I have a simple question, i would like to know what > is the best > solution for our environment ? > > Intranet / Ethernet 100 > JRE 1.4 plug into every clients (automatic > downloading) > Weblogic 6.1 SP2 > > We have decided to make all the company specific > software turn into > applets (since design is great JTable, JTree, > JSpinner ...). > My question is for communication between applet and > Weblogic : > What's the best ? > > Applet - Servlet - JNDI - EJB > Applet - JNDI - EJB > > Thanks for giving to me all advantages and > disadvantages. > I have found no documents on the web (perhaps one ?) > for > this architecture. > > Seb > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] > and include in the body > of the message "signoff EJB-INTEREST". For general > help, send email to > [EMAIL PROTECTED] and include in the body of the > message "help". > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
