Solved

Java Dynamic Libraries

Posted on 1998-12-03
5
221 Views
Last Modified: 2010-03-30
I'm new and learning java right now, so I'm sorry if the question might seem trivial to java programmers.

What are the java parallels to windows DLLs and the COM mechanism (i.e. dynamically loading of object and function libraries and runtime query of object interfaces)?
0
Comment
Question by:zivf
  • 3
  • 2
5 Comments
 
LVL 16

Expert Comment

by:heyhey_
ID: 1228679
DLL - .class files are dynamicly loaded from the Java VM - so in Java everithing id Dynamic
COM - look at java.reflection package. you can ask every object / class about its methods / constructors end even build method invokations dynamicly

Java much better than DLL / COM :-)
0
 
LVL 1

Author Comment

by:zivf
ID: 1228680
Before I give you the points:
aren't the .class files the parallels of .exe files in win/dos machines? can their objects be manipulated after the class has been loaded?
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 1228681
.class files look more like .dll files - they are loaded only when some other object needs them. .class files contain object definition - after you have loaded the object definition you can't change it. all Java objects are instances of some class, but classes are objects too (Class object) - classes objects are created from classloader (it knows how to make Class object from array of bytes).

more info ? (sorry, but i'm not native English speaker, so i can't explain everything very well ... :-)
0
 
LVL 1

Author Comment

by:zivf
ID: 1228682
send an empty answer so I can give you your points!
0
 
LVL 16

Accepted Solution

by:
heyhey_ earned 100 total points
ID: 1228683
<empty answer>

This information satisfies you ?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now