• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Please help me in design

 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello guys
I am designing an Intranet system which has a web extension. Some users are on LAN and they access intranet thru swing based applet wheres some users are on web who use JSP generated pages for the user interface
I am supposed to develop this application. Can anyone suggest way in which this can be acheived minimizing code duplicacy and redundancy
Cheers
Jayram
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The J2EE way would be to stuff as much of your application as possible in Enterprise JavaBeans. The servlets/JSPs and the Swing application would ideally be no more than thin front-ends.
How well this would work in practice depends on what you try to build, of course. Have a look in the EJB forum.
- Peter
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are using the MVC (MOdel view Controller) method of designing our apps because the learning curve for EJBs was to great...
You can write some decently smart apps with the MVC if you dont have time to learn EJBs.
servlets beans and jsps
model = Standard java beans(businesslogic)
view = jsps(presentation)
controller = Servlets(flow control)
applets
controller and view = applet
model = Standard java beans
EJBs do seem very worth while but I just don't have a complete understanding ... yet.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic