Create a WebSocket Client in JavaScript

This post shows how to implement a WebSocket client in Java Script and HTML 5 using the WebSocket interface provided by most modern browsers (IE10+, Chrome 16+, Firefox 11+, Safari 6+). A web page that maintains a WebSocket client … Continue reading

Create Spring Web MVC Project from Maven Archetype in Eclipse Neon

This post describes how to use Maven in Eclipse Neon for creating a new Spring Web MVC project from a Maven archetype. The spring-mvc-archetype developed by Frédéric Fondement from ENSISA is used here. This archetype creates a new Java … Continue reading

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

Creating a Simple Java TCP/IP Server and Client Socket

In this example, 2 simple Java TCP/IP server and client socket applications are created. One for sending character data over a TCP/IP socket connection and another one for sending binary data –an image is used-, over a TCP/IP socket … Continue reading

Setting up Maven on Mac OS and Creating Java Project

This post shows how to setup Maven on Mac OS and how to create, build and run a new Maven Java project. Before continuing, make sure that a Java SDK 1.7 or greater is installed and that the Java … Continue reading

Setup a Java IDE with Eclipse Neon and Tomcat

In this example, the Eclipse Neon Java IDE (Integrated Development Environment) and the Apache Tomcat Web Server are used to setup a Java IDE for developing and running web applications that can contain Java Servlets, JavaServer Pages and REST- … Continue reading

Create JAX-RS Java REST Service with Eclipse and Tomcat

In this example, the Eclipse Neon Java EE IDE and the Apache Tomcat 9 web server are used to create, deploy and test a Java REST service using the Jersey JAX-RS API and Jackson Parser API. Related Posts Setup … Continue reading

Creating a Java SOAP Service with Eclipse and Tomcat

In this example, the Eclipse Java EE IDE is used to create a new Java SOAP service. The Apache Tomcat web server is used to deploy and run the Java SOAP service and SOAP-UI is used to test the service operations. The … Continue reading