Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Do I need to go for rmic again ?  RSS feed

 
Shivaji Bhosale
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having server side class, which extends UnicastRemoteObject & implements Remote interface.
My doubt is, whenever I change this class, after this I execute,
rmic -v1.2 ServerClass
gives me stub & I place them at both client as well as server.
As I know in EJB, if you change parameters of function of the functions
which are exposed as remote, you need to deploy code.
So here I am thinking in the similar grounds, when I am not changing,
signatures of functions exposed as a remote, & changing other code,
so, Do I need to carry out rmic operation again ?
I yet not tried, since I am at the cliff, cant afford Trial & Error.
waiting for your replies ...
 
Louis Zezeran
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are correct in your thinking, when you are not changing signatures, just the internals of a method, you do not need to use RMIC again
 
Shivaji Bhosale
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx, It helped me !
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!