Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

can a java prg retrieve the user list from the nt server  RSS feed

 
Srinath R
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
i have a small doubt can a java prg be written to retrieve the list of users which are present in any given nt server, i believe their is one of the com components with in the nt server which has this list so now my question narrows down to one point can i activate a COM component in a java prg if yes then what is to be done to activate it.
[This message has been edited by srinath rammohan (edited March 30, 2001).]
 
Srinath R
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
does that question seem so meening less that their is no reply's or is it that no one has used this before.
kindly respond
tnx
srinath
 
John Bateman
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Usually a non-reply can mean a few things.
- No-one can help you
- No-one understood what you wanted to do.
- They are just being mean. (Not usually the case.)
I doubt people would answer you if they could not provide you with some help. Having to read 50,465 replies of "Sorry I can't help you" can get a little tiresome.
I am no expert on this issue, but, I think if you want to use COM or other 'OS specific' stuff on Windows you will have to look at the Java Native Interface (JNI and NOT JINI) stuff. You may have to wrap your app and/or do the same to the service you want to acces on NT.
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Well why donn you try and write a c program to look up @ the system and get the userlist..
Call the dll coded in c thru jni from u r Java program it shud work..
Lemme try the same and get bak to ya with a code if i can..
Regds
Gautham Kasinath
 
Michael Fitzmaurice
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
If you already know which COM object you need to use but don't fancy getting dirty with JNI, have a look at :
http://www.linar.com
They have written a product called J-Integra which enables you to treat COM objects as if they were pure Java objects, and vice-versa. I believe the evaluation version is free.
Hope this helps
Michael
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!