Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Java Dynamic Libraries

Posted on 1998-12-03
5
Medium Priority
?
231 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 300 total points
ID: 1228683
<empty answer>

This information satisfies you ?
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

877 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