• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Synchronization error in Client JAR and server JAR

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am facing some problem in session beans.

We are not using javascript in our project.We are using ValueObject Pattern for validation purpose.

Now the problem is in the input validator , it is first comparing the instance of the object.

e.g locationcodekey instanceof (locationcodekey)

So this is comparing server and client instance.

This always returns false due to which errors are coming.

Pls suggest solution to this problem.

Thnx in advance.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


e.g locationcodekey instanceof (locationcodekey)


Can you explain that line? Looking at it it doesn't look like it will compile. Are you talking about the instanceof keyword, or the isInstance() mehtod of java.lang.Class?
[ October 10, 2005: Message edited by: Paul Sturrock ]
 
Hd Desai
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Sorry there was mistake in writing.

Yes we are using isInstance method of java class.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic