I am trying to learn Spring Framework, before that I used to create application with EJBs
[Web services]->[Business Layer]->[DAO Layer]
| [Database]>
@Path
annotation) or spring mvc if you want to use controllers (@Controller
annotation)!@Service
annotation (or @Repository
for DAO) but you have to handle transactions manually (with annotations for example)package org.springframework.jms
should contains what you need)!Spring is a lighweight library so you can do all you do with EJB but it's more configurable so you will have more work to do the same that EJB do. But this configuration brings you some advantages: you have the hand on it!