|
Glassfish example source code file (README)
The Glassfish README source codeThe sample tests that exceptions are properly propagated through JavaEE service engine both to the JavaEE component and to the standalone client that requested the service. Service engine acts as a consumer as well as a provider 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 true. 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 |
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.