alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Glassfish example source code file (README)

This example Glassfish source code file (README) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Glassfish tags/keywords

another, binding, binding, calculator, calculator, client, javaee, javaee, service, soap, soap, the, there, this

The Glassfish README source code

The sample tests that exceptions are properly propagated through JavaEE service
engine to the JavaEE component that requested for the webservice. Service engine
acts as a consumer in this test.

There is a Calculator web service, deployed as a servlet, with only one 
operation add which throws an exception. This webservice has it's jbi-enabled 
flag as false. Another servlet is deployed which has it's jbi-enabled flag as 
true. This servlet requests for the Calculator webservice and the call goes 
through the service engine. 
Client is a standalone java application which sends request to the servlet 
which inturn calls the calculator webservice.

ant all of this sample does the following : 
 
1. compiles and deploys the web service on application server.

2. compiles and deploys the servlet that requests for above web service,
   deploys a consumer service unit on SOAP Binding

2. runs the client which invokes the servlet.

3. undeploy applications from app server and service assembly deployment from 
   SOAP Binding.

Other Glassfish examples (source code examples)

Here is a short list of links related to this Glassfish README source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.