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 / July 2006

Tip: Looking for answers? Try searching our database.

What in Hell are Sun playing at with learning JNI ?

Thread view: 
Chris Uppal - 26 Jun 2006 13:16 GMT
Anyone know what Sun is doing with JNI reference material ?

There used to be a valuable JNI trail in the Java Tutorial, but it's been
unreachable for months and is no longer linked to from the main tutorial pages.
There used to be a copy of Sheng Liang's book on the website too, but all that
stuff has been replaced by a link to some online bookshop.

It seems that they don't /want/ people to learn how to program JNI.  Are those
cretins under the impression that the Java libraries are so perfect and
complete that no one will ever need anything else ?

At this rate they'll be removing the JNI specification from the next JDK.

<fume/>

   -- chris
pradeepkumar.te@gmail.com - 26 Jun 2006 13:23 GMT
If an Operating System is developed for the existing JVM and if the
programmer is not allowed to develop program that depends on the native
OS or hardware then I think the application developer need not worry
about the JNI interface. Perhaps this may be the reason why JNI may not
be useful in future....

Please correct me if I'm wrong.

Thanks ,
Pradeep

> Anyone know what Sun is doing with JNI reference material ?
>
[quoted text clipped - 12 lines]
>
>     -- chris
Tim Ward - 26 Jun 2006 13:57 GMT
> If an Operating System is developed for the existing JVM and if the
> programmer is not allowed to develop program that depends on the native
> OS or hardware then ...

... the application I'm working on will get rewritten in C++. (Which it
should have been in the first place; I'm currently having to do bits of it
in C++ via JNI.)

--
Tim Ward
Brett Ward Limited - www.brettward.co.uk
Chris Smith - 26 Jun 2006 16:07 GMT
> If an Operating System is developed for the existing JVM and if the
> programmer is not allowed to develop program that depends on the native
[quoted text clipped - 3 lines]
>
> Please correct me if I'm wrong.

You're only missing one condition: "and everyone switches over to using
that operating system".  That last condition is a real woozy, though.

Signature

Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation

pradeepkumar.te@gmail.com - 27 Jun 2006 05:58 GMT
> > If an Operating System is developed for the existing JVM and if the
> > programmer is not allowed to develop program that depends on the native
[quoted text clipped - 10 lines]
> Chris Smith - Lead Software Developer / Technical Trainer
> MindIQ Corporation

It doesn't surprise me if all the future applications are developed on
top of  Java OS and Java Virtual Machine.

---Pradeep
Owen Jacobson - 30 Jun 2006 06:36 GMT
>> If an Operating System is developed for the existing JVM and if the
>> programmer is not allowed to develop program that depends on the native
[quoted text clipped - 6 lines]
> You're only missing one condition: "and everyone switches over to using
> that operating system".  That last condition is a real woozy, though.

And yet, people continue to download JBoss.
Chris Smith - 30 Jun 2006 15:53 GMT
> >> If an Operating System is developed for the existing JVM and if the
> >> programmer is not allowed to develop program that depends on the native
[quoted text clipped - 8 lines]
>
> And yet, people continue to download JBoss.

Huh?

Signature

Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation

Danno - 30 Jun 2006 20:35 GMT
> > >> If an Operating System is developed for the existing JVM and if the
> > >> programmer is not allowed to develop program that depends on the native
[quoted text clipped - 10 lines]
>
> Huh?

LMAO!!!!
Chris Smith - 01 Jul 2006 00:01 GMT
> > > And yet, people continue to download JBoss.
> >
> > Huh?
>
> LMAO!!!!

Grow up.

Signature

Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation

Danno - 01 Jul 2006 03:54 GMT
> > > > And yet, people continue to download JBoss.
> > >
[quoted text clipped - 3 lines]
>
> Grow up.

No thanks, the punishments would be more severe if I did. ;)
Owen Jacobson - 01 Jul 2006 07:48 GMT
>> >> If an Operating System is developed for the existing JVM and if the
>> >> programmer is not allowed to develop program that depends on the native
[quoted text clipped - 10 lines]
>
> Huh?

Nothing serious.  I was just venting frustration at our app server, which
(out of the box) takes almost as long to start as the OS we're running it
on and provides almost as many services.

I'm convinced the JBoss people think the JVM needs an OS and they're
writing one.

--o
Chris Uppal - 01 Jul 2006 09:46 GMT
> I'm convinced the JBoss people think the JVM needs an OS and they're
> writing one.

Maybe they should merge with the Emacs people ;-)

Come to think of it, I'm sure Emacs must have a webserver built-in already --
but perhaps not yet a full enterprise applications server framework...

   -- chris
Danno - 01 Jul 2006 19:52 GMT
> >> >> If an Operating System is developed for the existing JVM and if the
> >> >> programmer is not allowed to develop program that depends on the native
[quoted text clipped - 17 lines]
> I'm convinced the JBoss people think the JVM needs an OS and they're
> writing one.

What are you doing on JBoss?  I get Jboss done and ready in less than
30 minutes.
Dag Sunde - 02 Jul 2006 14:27 GMT
<snipped/>
>> I'm convinced the JBoss people think the JVM needs an OS and they're
>> writing one.
>
> What are you doing on JBoss?  I get Jboss done and ready in less than
> 30 minutes.

30 minutes?

What are you running it on? A Sinclair Spectrum?

;-)

Signature

Dag.

Danno - 02 Jul 2006 21:27 GMT
> <snipped/>
> >> I'm convinced the JBoss people think the JVM needs an OS and they're
[quoted text clipped - 10 lines]
>
> --

Haha. The computer is not slow, I am.  JBoss runs as is,but  I usually
need to add resources, do some db work, set up an Apache front end,
lock down the administrative web access.  By the time I am done, thirty
minutes or maybe more has elapsed.
> Dag.
Gordon Beaton - 28 Jun 2006 08:40 GMT
> There used to be a copy of Sheng Liang's book on the website too,
> but all that stuff has been replaced by a link to some online
> bookshop.

The book is still online:
http://java.sun.com/docs/books/jni/index.html

I've no idea why they've removed the JNI trail from the tutorial
however.

/gordon

Signature

[  do not email me copies of your followups  ]
g o r d o n + n e w s @  b a l d e r 1 3 . s e

Chris Uppal - 28 Jun 2006 10:56 GMT
[me:]
> > There used to be a copy of Sheng Liang's book on the website too,
> > but all that stuff has been replaced by a link to some online
> > bookshop.
>
> The book is still online:
> http://java.sun.com/docs/books/jni/index.html

Well, that's something.  Thanks.

Now, for extra credit: find a link /to/ that page from anywhere else in Sun's
Java documentation ;-)

   -- chris
Gordon Beaton - 28 Jun 2006 12:00 GMT
> Now, for extra credit: find a link /to/ that page from anywhere else
> in Sun's Java documentation ;-)

Start at the J2SE 5.0 documentation, follow the JNI link, then the
"tips" link to arrive at the "book available" page.

Follow the link "Code examples in the book can be downloaded here" and
finally "view HTML".

/gordon

Signature

[  do not email me copies of your followups  ]
g o r d o n + n e w s @  b a l d e r 1 3 . s e

Roland de Ruiter - 28 Jun 2006 12:03 GMT
> [me:]
>>> There used to be a copy of Sheng Liang's book on the website too,
[quoted text clipped - 9 lines]
>
>     -- chris

Not too difficult :
Click on the JNI-"brick" in the JSE diagram
    <http://java.sun.com/j2se/1.5.0/docs/>
->
    <http://java.sun.com/j2se/1.5.0/docs/guide/jni/index.html>
->
    <http://java.sun.com/products/jdk/faq/jnifaq.html>
->
    <http://java.sun.com/docs/books/jni/>

You can transfer your credits to my airmiles account ;-)
Signature

Regards,

Roland

Chris Uppal - 29 Jun 2006 12:48 GMT
> You can transfer your credits to my airmiles account ;-)

Do you accept Monopoly money ?

But thanks, anyway (and to Gordon).

   -- chris


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.