Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I decided to do a mini-project by myself to help me understand a bit more about

ID: 650206 • Letter: I

Question

I decided to do a mini-project by myself to help me understand a bit more about developing web applications before starting the new university semester. Using the Java SE and JEE/J2EE platforms. I will be creating a simple web application that will retrieve data from a database and display the data.

I decided to use a Model-View-Controller type pattern and so far decided that the:

Models: Will be Java objects which are persisted in the database using a framework. View: will only be the front end, probably written in HTML with some CSS.

I have not (at a high level) decided how the controller should be implemented, I initially went along with the idea that I will use JDBC to query results from the database and display it to the front end but the use of frameworks should ease the process.

I was told that there are some open source frame-works that help in making web application and a few I looked up were Spring and Hibernate.

My question then is there a way of incorporating these frameworks to what I proposed and if so how can I learn about these frameworks in order to create a web application?

Would appreciate advice and experiences about developing web-applications. This is something I have not done before so it

Explanation / Answer

I highly recommend picking up a copy of the JEE on Glassfish book and working through that. J2EE is the older Java Enterprise technology and should be avoided. Spring and Hibernate are wrappers around various JEE APIs and I'd recommend moving onto those technologies a little later once you've gone through the basics.

You can use JDBC to talk to the database, but the preferred JEE way (for simple CRUD applications) is to use JPA (which Hibernate is an implementation of).

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote