The Artima Developer Community
Sponsored Link

Java Answers Forum
Help, I need somebody Help

3 replies on 1 page. Most recent reply: Jun 18, 2003 2:37 AM by John Channing

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
guillaume

Posts: 21
Nickname: salulezami
Registered: May, 2003

Help, I need somebody Help Posted: Jun 16, 2003 10:52 PM
Reply to this message Reply
Advertisement
Hi,
I would like to reload a class file ( cause I rebuild the java file ) in the application. How could I do ???
Thanks a lot my friends.


zenykx

Posts: 69
Nickname: zenykx
Registered: May, 2003

Re: Help, I need somebody Help Posted: Jun 17, 2003 3:37 PM
Reply to this message Reply
I don't really get the idea: you have a running application and you want to replace while running a class ??? What you do with the already in-memory objects ? What do you think will happen with them ?

guillaume

Posts: 21
Nickname: salulezami
Registered: May, 2003

Re: Help, I need somebody Help Posted: Jun 17, 2003 11:50 PM
Reply to this message Reply
I run a java application, and inside it, the user can modifie the code of some of sourcefile (in order to change some parameters). After modification, the source file is recompiled (in the application), but user's modifications are not available. So I have to reload the class file associated with the java file the user has modified. Then, the modifications will be available, isn't it ??

John Channing

Posts: 17
Nickname: drc
Registered: Jun, 2003

Re: Help, I need somebody Help Posted: Jun 18, 2003 2:37 AM
Reply to this message Reply
I run a java application, and inside it, the user can modifie the code of some of sourcefile (in order to change some parameters).

A class should not need to be recompiled just because a user has "changed some parameters". This suggests to me that your design is fatally flawed and you may have misunderstood some fairly simple programming practices. Remember, if a relatively simple task is very hard to do with a language you are probably not using it correctly.
John

Flat View: This topic has 3 replies on 1 page
Topic: How to activate LDAP server for access ADSI using JNDI Previous Topic   Next Topic Topic: JTable - Need Help

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use