Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I want to develop my own jsp site

 
Mukesh Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,
I am new in java development and want to start a website using jsp,servlet and javabeans on mvc architecture. Please do suggest me. I need have Javabeans database connection code and using instructions.
I am waiting hopefully...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64985
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, but what is it exactly that you are waiting for. If you have specific questions, we'll be glad to answer them. But broad issues such as "how do I develop a JSP web site" is better suited towards a tutorial site.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The accepted 'best practice' these days is to use the container provided database connection pool via JNDI data source.

The documentation for whatever container you're using should cover this.
Here is the page (with sample code) for the Tomcat application server.
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic