• 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

JMS with Database

 
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 290
Oracle Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic