Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

Java idl question

Thread view: 
Firewalker - 23 Oct 2005 20:11 GMT
Hello all,
I am trying to write the simple hello world program by java sun. The thing
that the implemnetation of the interface is in seperate class than the
server. The tutorial on the web just shows you that the implementation
returns a simple string "hello world". What if I want to return a preperty
of the serve (say the value of the variab) or if I want to use a function
written in the server class? How would I be able to use the server's
information if the implemnatation is in different class?!

Thank you very much for your help
David Moss - 24 Oct 2005 01:51 GMT
> Hello all,
> I am trying to write the simple hello world program by java sun. The thing
[quoted text clipped - 4 lines]
> written in the server class? How would I be able to use the server's
> information if the implemnatation is in different class?!

If you have a server it is serving something.
Most likely requests for information.

Write a servlet for your server that returns the information you seek.
Write a function in your application that calls the servlet.
Use the result in your application same as any other variable.

Signature

DM
personal opinion only



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.