Skip to main content

About Metro and JAXB ?

3 replies [Last post]
royal9482
Offline
Joined: 2009-04-07
Points: 0

Hi All,

I am new to this web services and xml concepts. Can anyone please explaing me what is the use of JAXB (Is it used for creating the client stub?).. How Metro and JAXB is related ?

What is the use fo glass fish tool ? How JAX-RPC come into picture ?

Basically, I had have been created the client stub using AXIS and due to some problem with the AXIS now I am trying to create the clinet stub using different tools ? Can you please tell me the steps to create the same ?

Netbean / eclipse anything would be fine with steps....

Thanks,
Royal

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Martin Grebac

Hi,
JAXB is a databinding framework. Metro is an advanced web service
framework. Metro contains JAXB and relies on it to do the databinding.
GlassFish is a runtime where Metro can run (it can run on other
containers as well). JAX-RPC is an older standard for Java web services,
replaced by JAX-WS.
As for NetBeans tutorial, please see:
http://www.netbeans.org/kb/60/websvc/jax-ws.html

MartinG

metro@javadesktop.org wrote:
> Hi All,
>
> I am new to this web services and xml concepts. Can anyone please explaing me what is the use of JAXB (Is it used for creating the client stub?).. How Metro and JAXB is related ?
>
> What is the use fo glass fish tool ? How JAX-RPC come into picture ?
>
> Basically, I had have been created the client stub using AXIS and due to some problem with the AXIS now I am trying to create the clinet stub using different tools ? Can you please tell me the steps to create the same ?
>
> Netbean / eclipse anything would be fine with steps....
>
> Thanks,
> Royal
> [Message sent by forum member 'royal9482' (royal9482)]
>
> http://forums.java.net/jive/thread.jspa?messageID=340933
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>

--
Martin Grebac, http://blogs.sun.com/mgrebac

Web Technologies & Standards
Sun Microsystems Czech

ICQ: 93478885

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net

royal9482
Offline
Joined: 2009-04-07
Points: 0

Hi Martin,

Thankyou so much for your valuable feedback.

For creating Client stub using AXIS we have to follow the following steps :

1. JDK 1.4 or higher version
2. Axis from the apache website ( I have used AXIS 1.4 )
3. Using eclipse if we create the new Dynamc web project -- > Right click --> New other -- > Web service client -- >
4. Need to give the ?wsld path and set the location, server and run time... and it will generate no.of claases in the default package. ( This is called as Client side stub to build the new java class to access the webservice ) Am i right ?

Since AXIS is failure from my end I suppose to use other set of tools to generate teh Client stub.

When I try to install Netbean its asking me to provide the JDE location .. ( I have 1.5._03 and Netbean 6.5.1 need 1.5._06 it seems) . Now I am try to download the new version for java.

In the above same way can you please let me know what all the steps I need to follow to create the client stup suing JAXB (Whcih means what all I need to pre install to achive my task )

Thanks in Advacne,
Royal.

Felipe Gaúcho

If you want an ANT example on how to create deployable SOAP
web-services, you can checkout:

svn checkout https://cejug-classifieds.dev.java.net/svn/cejug-classifieds/trunk
cejug-classifieds --username username

* username = your java.net login

then you should:

1) set the AS_HOME environment variable
2) go to cejug-classifieds-server folder and run "ant"...

it will deploy the service to glassfish (the AS_HOME points to the
glassfish home installation)

On Tue, Apr 7, 2009 at 2:13 PM, wrote:
> Hi Martin,
>
> Thankyou so much for your valuable feedback.
>
> For creating Client stub using AXIS we have to follow the following steps :
>
> 1. JDK 1.4 or higher version
> 2. Axis from the apache website ( I have used AXIS 1.4 )
> 3. Using eclipse if we create the new Dynamc web project -- > Right click --> New other -- > Web service client -- >
> 4. Need to give the ?wsld path and set the location, server and run time... and it will generate no.of claases in the default package. ( This is called as Client side stub to build the new java class to access the webservice ) Am i right ?
>
> Since AXIS is failure from my end I suppose to use other set of tools to generate teh Client stub.
>
> When I try to install Netbean its asking me to provide the JDE location .. ( I have 1.5._03 and Netbean 6.5.1 need 1.5._06 it seems) . Now I am try to download the new version for java.
>
> In the above same way can you please let me know what all the steps I need to follow to create the client stup suing JAXB (Whcih means what all I need to pre install to achive my task )
>
> Thanks in Advacne,
> Royal.
> [Message sent by forum member 'royal9482' (royal9482)]
>
> http://forums.java.net/jive/thread.jspa?messageID=340946
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
> For additional commands, e-mail: users-help@metro.dev.java.net
>
>

--

Please help to test this application:
http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net