Hence, all necessary deployment descriptors for the Weblogic EJB container are
provided in the respective folders. In case you need to deploy the EJB into a different
vendor's EJB container, change the deployment descriptors accordingly.
Execute the following scripts in the command prompt to bring up the server first:
cd %BEA_HOME%/weblogic812/samples/domains/examples
%BEA_HOME%/weblogic812/samples/domains/examples/startExamplesServer
To build and deploy the EJB, in a different command prompt change directory to:
ch08\BindEjb\01_Ejb
%BEA_HOME%/weblogic812/samples/domains/examples/setExamplesEnv
%BEA_HOME%/weblogic812/server/bin/ant
This will build, package, and deploy the EJB module into the Weblogic server. It will
also create a client jar containing all the client-side stubs, which is required later for
accessing the service. In case you need to test whether your deployment went fine,
there is a client provided which you can execute by typing the following code:
ch08\BindEjb\01_Ejb
ant run
Step Two??”Bind EJB to ServiceMix
Once the EJB service is up and running, we now want to expose the service across
firewalls in a technology neutral format and protocol.
Pages:
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220