简体   繁体   中英

Web application using JSP web application or applet?

If i want to make a web application in java i mean JSP should I create an Applet and put it into a browser or create "Java web project"? In other words the big companies system like Oracal and others have there own system by creating java web application or using applet and putting it into browsers.

Thanks

I would create a "Java web project".

Using an is considered a bad practice due to all of the security issues , the need for the user to install the correct version of , and enable it in the browser .

Go with a solid java web framework like / . See this guide on how to start: https://spring.io/guides/gs/serving-web-content/

Java Applet runs on client side (in the brouser, like javascript), but JSP is part of Java Servlet API and runs on server side (you need to install servlet container like Tomcat to run them). It's not equivalent technologies with different abilities and application area.

Applets are old fashioned now, Applets were used to create interactive web applications in the early days of http development when developing a interactive website was not possible using any browser based technologies like html, css and java script.

But now the things have changed with the evolution of web-2.0 . Now you can develop the interactive web application by using only browser based technologies and you don't have to install any third party tools or plugins like in the case of applet, JRE should be installed on client machine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM