• 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

Java EE lightweight solution development

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Instead of using a full-blown (incl EJBs, ...) Java EE software stack I would like using a more lightweight approach: using POJOs, Tomcat (Container), Jersey (REST services, JPA/Hibernate (ORM), ... I would like architecting/developing my solution(s) in a layered approach: presentation layer / service layer / business layer / data-access layer (DAO, repository pattern).

My questions:
- Can I architect/develop my solution just with the mentioned elements (POJOs, Tomcat, Jersey, Hibernate) or do I need any extra framework(s) (eg Spring)?
- Are there any (recent) and relevant books discussing a lightweight approach I want to implement?

Thanks.
Guy
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch.

You don't need Spring. If it's a web app that contains web pages you'll likely want some web framework besides JSP, though. (Not sure if there server-generated web pages, since you mention only REST WS).

In fact, you don't need Hibernate or some other ORM library either if you want to reduce the number libraries - you can use straight JDBC. But that is rarely done these days, for the same reasons one usually uses a web framework on top of JSP.
 
Guy Dillen
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ulf,

OK thanks.
I only need REST services hosted in the cloud; my front-end will be based on AngularJS. But of course the backend solution behind the REST services (SL) should be developed in a layered approach (BL, DAL).

Thanks.
Guy
 
reply
    Bookmark Topic Watch Topic
  • New Topic