jQuery in Action, 2nd edition
The moose likes Servlets and the fly likes how to use javabean dbconnection class in mvc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Meteor in Action this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to use javabean dbconnection class in mvc" Watch "how to use javabean dbconnection class in mvc" New topic
Author

how to use javabean dbconnection class in mvc

Mukesh Singh
Greenhorn

Joined: Sep 18, 2006
Posts: 2
I have javabean database connection class.How can I use this class in servlet?
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
What I have understood that you have a JavaBeans that deal with Database Connection or Connection Pool. Correct me if I am wrong.

You can use JavaBeans in Servlet same as your use any class. Just create object using new keyword and user getter and setter methods.


My blood is tested +ve for Java.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 62464
    
  68

Moved to the Servlets forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to use javabean dbconnection class in mvc