Reputation: 162
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
Upvotes: 1
Views: 106
Reputation: 1
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.
Upvotes: 0
Reputation: 532
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.
Upvotes: 0
Reputation: 6345
I would create a "Java web project".
Using an applet is considered a bad practice due to all of the security issues, the need for the user to install the correct version of java, and enable it in the browser.
Go with a solid java web framework like spring / spring-mvc. See this guide on how to start: https://spring.io/guides/gs/serving-web-content/
Upvotes: 2