Blog Archives

Apache HTTPClient POST request sample code

This extends the Apache HTTPClient Tutorial to invoke RESTFul service with a POST request. The pom.xml

The client using HttpClient & JAXBContext The “JAXBContext” is from the Java 6 onwards. The sample code includes 1) Exception handling. 2) “BasicCredentialsProvider” is used for the basic authentication. 3) “JAXBContext” is used

Read more ›

Posted in JEE Web & Web Services Tutorial

Apache HTTPClient Tutorial to invoke RESTFul service

Apache HttpClient to invoke a RESTful Web Service. This is a GET request, and in the next post will extend this to use an HTTP POST with basic authentication. Step 1: Create a Maven project say “httpRestClient”. Just press enter for all the prompts.

Step 2: Import the above

Read more ›

Posted in REST Client Tutorial

RESTful Web Service Tutorial with RESTEasy, Spring, Maven, and Eclipse

Nowadays, it is more common to work with RESTful Web Service than with SOAP based Web service. This RESTful Web Service using the RESTEasy library assumes that 1) You have set up you Java, Maven, and Eclipse 2) You have set up your Tomcat Server 3) You Have gone through…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in JEE Web & Web Services Tutorial, member-paid

SOAP Web Service Tutorial with Apache CXF, Maven, and Eclipse

This is an extension RESTful service with Apache CXF . This tutorial modifies the same one for SOAP based Web Service. 1) You have set up you Java, Maven, and Eclipsr 2) You have set up your Tomcat Server 3) You Have gone through the Simple Web tutorial 4) You…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in JEE Web & Web Services Tutorial, member-paid

RESTful Web Service Tutorial with Apache CXF, Maven, and Eclipse

Nowadays, it is more common to work with RESTful Web Service than with SOAP based Web service. This RESTful Web Service using the Apache CXF library assumes that 1) You have set up you Java, Maven, and Eclipsr 2) You have set up your Tomcat Server 3) You Have gone…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in JEE Web & Web Services Tutorial, member-paid

Creating a simple Java Web project with Maven – part 3 (with eclipse & m2e plugin)

“Creating a simple Java Web project with Maven – part 1” covered developing a simple Java web application using Maven. “Creating a simple Java Web project with Maven – part 2 (Understanding war and pom.xml)” elaborated on war and pom.xml. In this post, let’s cover how eclipse interacts with Maven.…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in JEE Web & Web Services Tutorial, member-paid

Creating a simple Java Web project with Maven – part 2 (Understanding war and pom.xml )

“Creating a simple Java Web project with Maven – part 1” covered developing a simple Java web application using Maven. This part is all about understanding the war and pom files. 1. The lib directory Q. How did the servlet-api-2.5.jar get into the WEB-INF/lib folder? A. You need to understand…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in JEE Web & Web Services Tutorial, member-paid

♥ Creating a simple Java Web project with Maven – part 1

Java beginners to create a simple web application (i.e. a Web ARchive file — i.e. a war file). Prerequisite is that you have set up Java, Maven, and Eclipse.  Step 1: Execute the Maven maven-archetype-webapp command to create the Maven web structure with the following command on a DOS command prompt.

Read more ›

Posted in JEE Web & Web Services Tutorial
Tags:

600+ Java Interview Q&As ♥Free|♦FAQ

open all | close all

200+ Java Interview FAQs – Memory Joggers

open all | close all

16 Java Key Areas to be a top-notch

open all | close all

80+ Java Tutorials – Step by step

open all | close all

100+ Java Coding Exercises

open all | close all

How good are your "Career Skills"?

open all | close all