Example of Creating a WebSocket Server in Java

This post shows how to implement a WebSocket server in Java using the @ServerEndpoint annotation. A WebSocket server application can be deployed to Tomcat 7 or higher, or to any other Java EE servlet container that supports WebSockets. There … Continue reading

Eclipse Neon – Create Java Web Project with Spring – Without Maven

This post shows how to create a new Java web project with Spring framework support in Eclipse Neon. It is shown how the Spring 5 MVC (Model-View-Controller) can be used in a new dynamic web project in Eclipse Neon. … Continue reading

Creating a Simple Java UDP Server and Client Socket

In this post, it is shown how a simple Java UDP server and client socket application can be implemented. For this example, Java SE 8 and the Eclipse Neon IDE setup described in the post below was used. Create … Continue reading

Eclipse Neon – Export Dynamic Web Project to WAR File

This post shows how to export a dynamic web project in Eclipse Neon to a WAR file (Web Archive). The WAR export can be configured to include dependent JAR files (Java Archive). The WAR file (aka Web Module) can … Continue reading

Create Java Project in Eclipse Neon and Setup User Library

This post shows how to create a new Java Project in Eclipse Neon and how to implement a simple HelloWorld Java class. The class can be run in Eclipse. For a step-by-step instructions on how to setup a Java … Continue reading

Export a Java Project in Eclipse Neon to Executable JAR with Manifest

This post shows how to Export a Java Project in Eclipse Neon to a JAR file. If the JAR (Java Archive) file contains classes with main methods that have a signature public static void main(String[] args), the Java application … Continue reading