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 / September 2006

Tip: Looking for answers? Try searching our database.

Class Instantiation

Thread view: 
sara - 15 Sep 2006 11:12 GMT
Hi All,

I have a program with a main class which wants to instantiate multiple
classes inside itself but it wants to instantiate each of them with
different
frequnecies, e.g. instantiate class1 every two hours and class 2 every
three hours.

Is there any way I can do it?

Thanks,
Sara
Hal Vaughan - 15 Sep 2006 11:47 GMT
> Hi All,
>
[quoted text clipped - 5 lines]
>
> Is there any way I can do it?

Yes.

This sounds a lot like a homework assignment, so I won't say much, but I'd
track when tables are created and sleep until needed.

Hal
Mike Schilling - 16 Sep 2006 17:11 GMT
> Hi All,
>
[quoted text clipped - 5 lines]
>
> Is there any way I can do it?

No.  This is one of the few complete holes in Java.  I think Sun is planning
to fix it in version 1.7.

Now do your own homework.


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



©2009 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.