Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sergps

  1. sergps

    JNDI problem

    oh ok, thanks a lot for all your help, I really appreciate it. Regards.
  2. sergps

    JNDI problem

    Great, could you please post url of the Jboss & JDNI tutorial you're metioning?
  3. sergps

    JNDI problem

    It's just that I was thinking that I could make available this object through remote servers, but now I'm not sure
  4. sergps

    JNDI problem

    I meant the class which implements the interface and contains all the code & behaviors in the methods of the class.
  5. sergps

    JNDI problem

    It's because I'm using that object in another application which is in other server.. so the class implementation needs to be known and we're only supposed to have the interface declaration in the client app... when I cast the object in the client app will cast the object resulting from the...
  6. sergps

    JNDI problem

    Hello, thanks for your response, well when I created the DirContext with DirContest ctx = new InitialDirContext(); and then I try to bind the object to a JNDI name I get 12:29:51,590 INFO [STDOUT] javax.naming.NotContextException: Not an instance of DirContext, and I'm using the DirContext...
  7. sergps

    JNDI problem

    Well, I'm really new in LDAP and I'm on the need of binding in a JNDI name an object along with its class definition, so it can be used by any code that invokes the jdni name... do you know another work-around for that?
  8. sergps

    JNDI problem

    Thanks for your response, do you know how I can set a server so it'd be listening to my ldap requests?, I'm currently working with Jboss and I can't find any info regarding of how to enable the ldap feature, thanks..
  9. sergps

    JNDI problem

    Hi, I wanto to access an object from a remote app, the client app which would perform the lookup will have to have a interface declaration of the object so it could try to cast when performing the look up, but then how do you get the implementation of the interface?, I've been reading that you...
  10. sergps

    Help with SUN JNDI tutorial example

    Thanks a lot for your message, you're right, I'll do it in that way, Regards.
  11. sergps

    Help with SUN JNDI tutorial example

    Hello, so you mean the client application needs to have an interface of what I'm trying to cast?, I thought about it before but just wanted to be sure that there were other options, I think there is no other way right?, what you think, thanks.
  12. sergps

    Help with SUN JNDI tutorial example

    Hi guys there's an example of how to bound an object along with its codebase in the sun jndi tutorial import javax.naming.*; import javax.naming.directory.*; import java.util.Hashtable; /** * Demonstrates how to bind a Serializable object to a directory * with a codebase. * (Use Unbind to...

Part and Inventory Search

Back
Top