• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

struts or ejb

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
new to struts
This is what i read a about struts in the forum :
The framework is just another (rather large) step towards not having to worry about developing infrastructure and being able to concentrate on the business logic and the stuff that matters to the client. Reduced time to market and all those other points that are commonly touted at this point.
If this is what struts does . How different is it from ejb. Or is it that struct functionality overlaps ejb functionality
Thanx
Sushant
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am moving this to the Java Frameworks forum.
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Struts and EJB can be used in conjunction with each other. Struts is an MVC framework for web applications. It provides the controller and an optional jsp tag library for the presentation layer. It is model neutral, so you provide the business logic in whatever form is best for the project.
 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sushant,
Struts is a prove framework for web application based on MVC model.It is best for large scale web applications which consists of jsp as view or for rendering, servlets as a controller and the data being represented in form of Java Bean.Now Struts achieves the best out of these by its architecture.
when we talk of enterprise application, there are five different layers to it..
1) Client Layer----JSP,HTML,Thick client(c#.Net)
2) Application Layer ---The controller Servlet
3) Service Layer --- StateLess Facade Bean
4) Domain Layer -- Container Managed Entity Beans
5) Persistence Layer---OR/Mappers,CMP 2.0,Third party tool.
Now for the first two layers you can use Struts quite seamlessly and make it talk to The EJB scheme of things which begins from the service layer.So the inference is Struts works best for web-interface and EJB is for enterprise, so Struts can be used as a gateway to EJB but they never comprehend each other.
Hope that clears your perception....
Rishi Singh
SCJP,SCWCD
 
sushant prabhu
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanx
Pretty good explanation
 
Check your pockets for water buffalo. You might need to use this tiny ad until locate a water buffalo:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic