• Post Reply Bookmark Topic Watch Topic
  • New Topic

Confused on how to implement and set up a JSP and JDBC  RSS feed

 
Jon Perry
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm in my final year of a computer science course and I'm trying to create an environmental management system.

I have created a database in Oracle 10g express and I'm using JDeveloper 11g.

The system is to be implemented on my client company's intranet. I want the webpage to be written using JSP. I am going to have a business logic layer written in JDBC which retrieves data from my database and can input data into it what the user enters on the webpage, doing all the validation and any required calculations. The webpage will also be required to produce graphs from the data (but this is a problem for another day).

After lots (and I mean lots) of reading of MVC, three-tier architecture and JDBC. I'm still confused as to how my system should be structured. I want the JDBC on the comany's server.


My main problem is I don't know how to set this up in JDeveloper (or any IDE for that matter). Once I get set up I should be fine just all of the configuration is completely new to me and tackling the jargon is getting me extremely stressed.

Sorry for any ambiguities in my questions, I'll happily give any extra information that is required (to the best of my ability anyway).
Thanks so much in advance.
 
Jesus Mireles
Ranch Hand
Posts: 122
IntelliJ IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im not sure that you you know what your main problem is because its not the IDE.

You need to make a choice of which architecture you are going to pick ... there are lots of frameworks that can help you achieve an MVC architecture so I'd probably say step 1 is to choose a framework unless you are going to do straight up Servlets/JSP thats still the choice you need to make. Once you make this choice the rest of the pieces begin to fall into place.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jon Perry wrote:I am going to have a business logic layer written in JDBC which retrieves data from my database and can input data into it what the user enters on the webpage, doing all the validation and any required calculations. ...
.. I'm still confused as to how my system should be structured. I want the JDBC on the comany's server.


Now this is a bit confusing, what according to you is JDBC? Is it the classes that access the database or the database itself?
Well in either case both reside on the server, only thing is the database might be on a different server at times but the classes are not.

Jon Perry wrote:
My main problem is I don't know how to set this up in JDeveloper (or any IDE for that matter). Once I get set up I should be fine just all of the configuration is completely new to me and tackling the jargon is getting me extremely stressed.

Well you don't set up MVC in any IDE, its the structure your application follows, for the IDE they are just classes like any other class.
You may like to read the Javaranch journal article on MVC by Bear.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!