aspose file tools*
The moose likes Web Services and the fly likes WebLogic vs. Monson-Haefel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WebLogic vs. Monson-Haefel" Watch "WebLogic vs. Monson-Haefel" New topic
Author

WebLogic vs. Monson-Haefel

Janne Mattila
Ranch Hand

Joined: Jan 10, 2005
Posts: 32
I am studying the Monsol-Haefel book and trying out some simple examples in practise with WebLogic 8.1. At the same time I am reading the WL tutorials (Programming Web Services), and creating Web Services in that tutorial seems completely different from what M-H book describes. I think I am a bit confused with the big picture. For example chapters 10, 11, 12: Jax-RPC end points, EJB end points, Client APIs...does M-H book describe the proper way to do things according to the standard, and WebLogic use it's own bastarded nonstandard way (would not surprise me) or what is going on?

For example, I am trying to access a simple web service from inside J2EE container. M-H describes the process along the lines of:



For the life of me I cannot seem to find the jndi enc name the web service I should use. M-H talks about assigning JNDI name using a service reference element at deployment time, there's no such process with WL, just a bunch of confusing magical ant tasks that nicely prepare the web service for you, but I have no idea of what is actually going on under the hood.

WL docs recommend approach like



and sure enough it works, but directly accessing the implementation classes (TaderService_Impl) seems just bad, and I would like to test the M-H approach.

Anyone care to shed some light to this issue, WL 8.1 approach vs. M-H book?
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
Weblogic 8.1 only complies with EJB 2.0 and the Java Servlet 2.3 Specification. The <service-ref> descriptor was introduced in EJB 2.1 to the ejb-jar.xml and in Servlet 2.4 to the web.xml.
weblogic-ejb-jar.xml Deployment Descriptor Reference.
web.xml Deployment Descriptor Elements
Overview of HTTP Servlets

Enterprise JavaBeansTM 2.1(JSR153)
Java Servlet 2.4 Specification (JSR154)


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebLogic vs. Monson-Haefel
 
Similar Threads
Accessing Web Service from a Java Client
Apache Axis Vs JAX-RPC
Apache Axis vs. WebLogic
JMX Remote Connection vs Local Connection
REST vs SOAP - stateful/stateless