-
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.
-
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.
-
what will this Hibernate do. is it a bridge to connect to database.
-
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.
-
which one is optimum and effective in performance wise. Hibernate or JDBC
-
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.
-
Thank you very much. now am going to start my project with Plain Web Application.
Thank you tolls.