|
Glassfish example source code file (README)
The Glassfish README source codeThis test demonstrates usage of a composite application when JavaEE SE is consumer. There is a Calculator webservice with add operation that adds two numbers. This calculator service is deployed in appserver with jbi-enabled set to false so that the service can not be called through JavaEE SE. The webservice client is a servlet that sends an add request to the calculator service. This servlet is deployed as part of a composite application. A standalone Java client is used to invoke this servlet and execute this test. ant all of this test does the following : task setup: 1. Calculator webservice is deployed in appserver and jbi-enabled flag is set to false 2. A service assembly is created and deployed that contains a JavaEE service unit consuming calculator service and a HTTP BC service unit that provides calculator service. task runtest: Client invokes the test servlet which in calls the calculator service. This call goes through JavaEE SE. Below is the runtime call flow- TestClient --> Client(Servlet) --> JavaEE SE --> HTTP BC --> Calculator WS task undeploy: undeploys the calculator service from appserver and composite application from from JBI 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.