• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is it compulsory to throw remote exception?.

 
cnivas redy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.what happens if my Service class(or interface) doesn't extend java.rmi.remote and the method doesn't throw java.rmi.remoteException. is it compulsory to throw remote exception?.

2. my service is having complex types. so for the bean class i'm implementing Serializable. do i need to write deSerializable classes also?
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
What API or stack are you using when developing your service?
All the things you mention belong in pre-JAX-WS time, thus none of it is necessary if you are using JAX-WS.
Best wishes!
 
cnivas redy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used Axis 1.4 for developing the web service.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic