Hi, I would like to develop a Library Management system with HTML as the front end and Java as the backend. I want to develop the screens using HTML. User has to fill the HTML forms. And when the action is performed, it has to update the database. But with HTML we can only call the backend applications using URL. But I am writing simple backend java application. So, please give me some idea how to invoke the backend java application. Thanks, Neelima
The solution to this problem is Servlets. A servlet is a small piece of Java which runs inside a web server and responds to a URL. Java Servlets can use any other classes you write as well as any of the Java APIs (which include useful things like JDBC and JavaMail). More information can be found out about Servlets in the "Servlets and JSP" forum here at Java Ranch.
Hai Neelima The project u want is develop would basically use the follwing Architecture : HTML - Servlet - Database. You have to create static HTML pages and when u click the commit button redirect to servlet to do the necessary operation. You have to put all the business logic in the servlet. Later u have to display the result in another static HTML page. If you want to use advanced technology use JSP for preparing static and dynamic pages. I hope u have got the answer. All the Best. Bye Praveen