Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Environment setup for SCDJWS 5 EXAM preparation.

 
vasu mannem
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

any one from javaranch can help me to do the best setup to prepare the scdjws 5 exam

your help would be appriciatable....

please do not tell me use Glassfish with metro tool in Eclipse and XJC plugin ... I already tried that.. it is no more..



 
Kumar Raja
Ranch Hand
Posts: 547
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vasu mannem wrote:Hi

any one from javaranch can help me to do the best setup to prepare the scdjws 5 exam

your help would be appriciatable....

please do not tell me use Glassfish with metro tool in Eclipse and XJC plugin ... I already tried that.. it is no more..





Hi Vasu,

I'm not clear on your question. The recommendation for SCDJWS by experts is to use Metro and Glassfish and you are saying that you have already tried that. But are you facing any issues, inspite of installing them properly or want to try your examples in another setup.
 
vasu mannem
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Kumar

Thank you for your reply..

I do agree with experts you are talking... unfortunately there is no support of XJC plug..

Its not the problem with my setup, i did it properly, but there is no source to download the XJC plugin.


can you tell me where I can download the XJC eclipse plugin for Glassfish with Metro?

 
Kumar Raja
Ranch Hand
Posts: 547
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vasu mannem wrote:Hey Kumar

Thank you for your reply..

I do agree with experts you are talking... unfortunately there is no support of XJC plug..

Its not the problem with my setup, i did it properly, but there is no source to download the XJC plugin.


can you tell me where I can download the XJC eclipse plugin for Glassfish with Metro?



Ok, I see what you mean by problem with XJC. The link does not exist, because I think lately there was some shuffle of this webpages or some kind of migration would have happened. But have you tried this. . I downloaded the XJC plugin what Ivan's notes referred, long back, so I did not have problem with that. But apparently that link does not point to the resource anymore. Try the plugin from sourceforge and see if it works for you.
 
vasu mannem
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I already tried with that and copied that folder into plugin folder but no luck
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Strictly speaking, you do not need the XJC Eclipse plugin.
The xjc terminal command is still available in modern JRE/JDKs and can be executed from a terminal window.
Try opening such a window and type "xjc" (without quotes).
Best wishes!
 
vasu mannem
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then I am not seeing JAX-WS ->XJC on right click of XSD file from Glass fish.

You mean , open cmd and try to execute the XJC .. I do have Java 6 in my local machine..

can you please explain in detail.. how to generate java beans from XSD using terminal window..
 
Anish Kurian Thomas
Greenhorn
Posts: 21
Java Oracle Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You can run the xjc command from a command prompt after setting the PATH environment variable.

For example run the following commands in a command prompt:

After executing the above commands you can run the xjc command to compile the XSD file like

This will generate the binding classes.

Thanks,
Anish
 
vasu mannem
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Anish, I will try this option..
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
vasu mannem wrote:can you please explain in detail.. how to generate java beans from XSD using terminal window..

Click this link: http://lmgtfy.com/?q=jaxb+xjc
Best wishes!
 
vasu mannem
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, you kidding me..

i know how to do in command prompt ....
asked eclipse plug-in


iam sure..i know how to search in the the google..
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Well, you did ask for how to use xjc from the terminal window - take a look at the quote in my previous post.
If you do have the XJC Plugin installed in Eclipse, then all you need to do is right-click on the XML schema and select the JAXB (as far as I remember) menu, and you should be well on your way.
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic