Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss & Spring Frame Work

 
DINESH MISHRA
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

What is the scope of the applications build up on Spring Frame Work and JBoss?
Thanks & Regards
Dinesh Mishra
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not entirely sure what you mean, but....

You can develop and deploy Spring applications onto JBoss instead of Tomcat (JBoss uses Tomcat internally for JSP/Servlets).

Sometimes I prefer to use JBoss instead of Tomcat for Spring development because of a few extra features it gives me.
 
S Davis
Author
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is nothing stopping you from deploying Spring in JBoss, although it's a bit like driving your Ford to your job at Toyota... (grin)

JBoss uses the J2EE specs to provide transactions (Stateless Session Beans). Spring is an alternate technology that is functionally equivalent but doesn't adhere to the J2EE spec.

See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSpringIntegration for details on integrating the two, or perhaps consider Geronimo as an alternate -- it provides native Spring support.

I'm a big fan of Spring -- the dependency injection is something I'm using at my day job on a command-line interface (?!)
 
Tom Marrs
Author
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like Scott said, it's like driving a Ford to your job at Toyota. <grin/>

If you're using Spring properly (for Transactions, Hibernate integration, and so on), you could easily deploy your application on Tomcat. Spring does transactions, so you don't need Stateless Session Beans anymore. The Hibernate integration is fabulous.

If you need JMS messaging, you could use ActiveMQ. Jencks (a related project) allows you to add Message-Driven POJOs to your Spring environment, so you don't need MDBs anymore, either. Again, you could put this on Tomcat.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic