• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help on usage of Web Services  RSS feed

 
Goan Balchao
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am actually preparing for SCEA-II and I have this question on web services. I wanted to post it on this forum, because people would be more faimiliar with the question.
I am currently reading http://java.sun.com/blueprints/guidelines/designing_webservices/html/.. but I haven't understood this fully as yet.
I have a couple of questions
a) Does exposing my services (Stateless Session Beans) as web services require remote semantics ?
b) How do I propogate my login credentials (or login itself) from a standalone application to my web service?
The questions may seem pretty inane.. even links and not answers to the above will help

Thanks
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Goan Balchao:
Does exposing my services (Stateless Session Beans) as web services require remote semantics ?


Yes. See:
A Web Service Example: HelloServiceBean
Creating a Simple Web Service and Client with JAX-RPC

Originally posted by Goan Balchao:
How do I propogate my login credentials (or login itself) from a standalone application to my web service?


Take a look at:
XML and Web Services Security
Web Services Security UsernameToken Profile 1.0
 
Goan Balchao
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey thanks a lot Peter for the info. Was really helpful .. rather than me digging up a lot of that stuff
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!