Solved

Java Dynamic Libraries

Posted on 1998-12-03
5
222 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java DateChooser? 3 36
xampp tool 12 52
login jsp example 24 51
sql import cannot be resolved jsp 3 25
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

832 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