• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

WebLogic vs. Monson-Haefel

Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Posts: 2968
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
So you made a portal in time and started grabbing people. This tiny ad thinks that's rude:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic