Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS with Database  RSS feed

 
Chris Montgomery
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can JMS be used to execute prepared statements against a database?

Can I setup a struts application that connects to JMS rather than to a database? In otherwords, I don't want to use EJB. I'd like to go from Struts to JMS to the database.

Then... if the database is up, JMS executes the PreparedStatement against the database, otherwise, it stores them in order until the database is up again?

Or, am I approaching JMS incorrectly?


Thanks!

[ August 12, 2006: Message edited by: Chris Montgomery ]
[ August 12, 2006: Message edited by: Chris Montgomery ]
 
Aryan Khan
Ranch Hand
Posts: 290
Java Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cant do that with JMS. No where mentioned in JMS specs of connecting to database. Unless some implementions/providers implement the specs in such a way.

HTH
Ahmad
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!