Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the best way to design a Web application?

application best design web
0
Posted

What is the best way to design a Web application?

0

The only difference between a Web program and any other kind of program is its default way of communicating with the outside world, which is via an enclosing web server. This means that a jsp page (or servlet) must accept a request, and then create a response, but in between, it can do anything it likes in order to build the response. The best approach is usually to define ordinary Java classes (or use ready-made ones) to help the pages or servlets do their job. If you put these in WEB-INF/classes (or in a packaged jar file in WEB-INF/lib) then the Web server will find them when it runs. It is also possible to call other servlets/jsp pages, contact other web sites, or make network connections, so as to make use of other existing services. When you recompile these supporting classes, you may have to restart Tomcat. Beware of reading about and using beans, or “Enterprise Java Beans”. The documentation on using these assumes you are a large business, and so sledgehammer techniques are put

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123