• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

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

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 122
Mac IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Why am I so drawn to cherry pie? I can't seem to stop. Save me tiny ad!
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic