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 / November 2007

Tip: Looking for answers? Try searching our database.

How standard and interchangeable are Java modules and the like?

Thread view: 
Ramon F Herrera - 01 Nov 2007 22:48 GMT
I am just getting acquainted with some new Java building blocks
through the NetBeans IDE.

The "New  Project" item offers several alternatives such as:

 - "Module Project"
 - "Module Suite Project"
 - "Library Wrapper Module Project"

...and so on.

How standardized are such constructs? Are those things above simple
time savers that do some typing for me? IOW, can I take another IDE
and say "I want a 'Library Wrapper Module Project'", and expect to get
pretty much the same files generated?

I am guessing that the concept of 'module' is well defined by some
standard, but what about a 'module suite'?

TIA,

-Ramon
Owen Jacobson - 01 Nov 2007 23:06 GMT
> I am just getting acquainted with some new Java building blocks
> through the NetBeans IDE.
[quoted text clipped - 14 lines]
> I am guessing that the concept of 'module' is well defined by some
> standard, but what about a 'module suite'?

Those look like Netbeans-specific concepts, but it's likely the
generated artifacts are portable to other IDEs, if they're just
different approaches to packaging and arranging Java source.

Eclipse, for example, only has "Java Project" out of the box, which
maps well to the concept of a single JAR but isn't restrained to it
and can be used for other things.  You might be able to reproduce a
"Library Wrapper Module" using a Java Project and writing specific
code, and you can probably load an existing "Library Wrapper Module"
into Eclipse as a project.
Mark Space - 01 Nov 2007 23:59 GMT
> I am just getting acquainted with some new Java building blocks
> through the NetBeans IDE.
[quoted text clipped - 4 lines]
>   - "Module Suite Project"
>   - "Library Wrapper Module Project"

I'm not the expert here, but I'm  pretty sure those are NetBeans
modules, not Java.

Look under New Project->General->Java Application for the Java stuff.

If you have NetBeans 6 Beta, then replace "General" with "Java".

As far as I know, the Java stuff is very portable, although I've yet to
do anything complicated with it. Ant build scripts are your friend, but
for a simple project you don't even need to bother with that.
Roedy Green - 02 Nov 2007 00:15 GMT
On Thu, 01 Nov 2007 14:48:01 -0700, Ramon F Herrera
<ramon@conexus.net> wrote, quoted or indirectly quoted someone who
said :

>  - "Module Project"
>  - "Module Suite Project"
>  - "Library Wrapper Module Project"

These are netbeans concepts.  However, what comes out the end will be
just packages and classes, standard Java.  You will have no problem
importing them into some other IDE.

Once you get to know an IDE, you want to stick with it since you will
be most productive with it.  However, you want other to be able to
work on the code too from a shared repository.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



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



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