Technology recommendation for adding a web application in Java

I am new to the world of web development (from microcontrollers to the network - a really long way)

When starting Java software (.jar), it is just a background process of sending / receiving information through sockets without an interface.


I would like to create a web interface for it, and I need some recommendations on how to deal with these topics.


Code . Should I keep it as a .jar, or is it recommended to switch to .war and deployment? other?

Html / javascript code : edit page with wysiwyg editor? and / or edit html code in the IDE? / use GWT to develop everything in Java? other?

Http server . Use Apache server, tomcat? implementing it in java with HttpHandler? other?

Data . The data is actually in classes, objects, and some persistence with writeObject. Should I leave it that way, or is "web development" better compatible with mysql or some sql? other?


Just search for simple and real tools and avoid creating wheels again.

Experienced web developers, your advice is very welcome!

+3
source share
3 answers

I would advise you to insert Jetty and then add some servlets to connect the existing code.

It really works!

+2
source

 You have a (presumably) proprietory protocol exposed over a socket interface.

 You desire to access the same function over HTTP, with a Browser based GUI.

:

1). , . "" . , "" HTTP... , , ? HTTP , /. - , , , , , , - .

, . , HTTP-. :

2). API , Tomcat WebSphere Community Edition . , "".

3). , Eclipse . , IDE.

4). , , HTML JSP, WYSWYG. , Javascript- - , , , , Eclipse Java.

+2

Spring. .

+1

Source: https://habr.com/ru/post/1758250/


All Articles