File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes HTML frontend, Java Backend Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "HTML frontend, Java Backend" Watch "HTML frontend, Java Backend" New topic
Author

HTML frontend, Java Backend

Neelima Garimella
Ranch Hand

Joined: Oct 03, 2000
Posts: 37
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
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
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.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Kagalkar Praveen
Greenhorn

Joined: Oct 31, 2000
Posts: 11
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML frontend, Java Backend