Results 1 to 7 of 7

Thread: web application

  1. #1
    sunilappu is offline Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    0

    Question web application

    Hi all, am new to java technology, am planning to develop the web application which uses a mysql database and netbeans. But am getting confused which type of project should i select, Enterprise Application,Enterprise Application Client , EJB Module or Plain Web Application. please help me am getting mad of it.
    which one is best suited ?
    Thanks in advance.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    If you're new to it all, start with a plain web application.
    For interacting with the database you would either use something like Hibernate, or straight JDBC.

  3. #3
    sunilappu is offline Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    0

    Default

    what will this Hibernate do. is it a bridge to connect to database.

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    It's an ORM layer. It maps (the M) your database tables (R = relational) to your classes (O = Object).
    Requires a bit of setup (mapping files and the like).

    If you're new to all this you might be better served with just going the straight JDBC route and using the Sun tutorials.

  5. #5
    sunilappu is offline Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    0

    Default

    which one is optimum and effective in performance wise. Hibernate or JDBC

  6. #6
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    No point you even thinking about performance until you know how to code this stuff.

    Both straight JDBC and Hibernate (which uses JDBC under the hood) are used in large scale systems, so they both scale well.

  7. #7
    sunilappu is offline Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    0

    Default

    Thank you very much. now am going to start my project with Plain Web Application.

    Thank you tolls.
    Last edited by sunilappu; 01-21-2010 at 01:03 PM.

Similar Threads

  1. Replies: 3
    Last Post: 12-04-2009, 01:10 PM
  2. Replies: 0
    Last Post: 04-22-2009, 02:30 PM
  3. Replies: 0
    Last Post: 02-16-2008, 10:31 PM
  4. Replies: 0
    Last Post: 02-16-2008, 10:29 PM
  5. Help, GUI Application
    By Felissa in forum AWT / Swing
    Replies: 2
    Last Post: 07-04-2007, 09:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •