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 / February 2008

Tip: Looking for answers? Try searching our database.

How is Java typically invoked from HTML?  And Java Permissions question...

Thread view: 
Aaron J. Margosis - 29 Jan 2008 17:04 GMT
I'm not a Java programmer, but I'm trying to solve some application
compatibility issues with locked down security settings on Windows.

My question:  How do different Java-delivery tools invoke client-side Java
in their HTML?  Is the <APPLET> tag the way they usually go, or do they use
another mechanism?  E.g., invoking it as an ActiveX via <OBJECT>?  Through
some kind of scripted invocation?  Some other tag?  One specific:  what does
Oracle Application Server / Oracle Forms do?

The reason for the question is that in locked down configurations on
Windows, the Internet Explorer setting for "Java Permissions" (settable via
Group Policy) is set to "Disable Java", which comes into play only when the
<APPLET> tag is used.  So in app-compat testing, I've seen the "Java
Permissions" setting completely block some Java apps from even loading,
while in other cases they do run.  I'm trying to gain insight into the
specific causes that would cause one result or the other.

Follow-on question:  The Internet Explorer "Java Permissions" setting can be
set to "Disable Java", "High safety", "Medium safety", or "Low safety".  Do
any versions of Java other than the now-extinct Microsoft JVM look at those
settings at all?  That is, if the "High safety" setting is chosen, does it
actually restrict what Java applets can actually do?  Or do all the Java
implementations out there have their own authorization mechanism that
doesn't look at the Windows/IE setting?

Thanks.

(And my apologies if I cross-posted too broadly -- I don't know which
newsgroups provide the best responses.)

-- Aaron
Roedy Green - 29 Jan 2008 18:36 GMT
On Tue, 29 Jan 2008 12:04:18 -0500, "Aaron J. Margosis"
<noaddress@nothanks.nospam> wrote, quoted or indirectly quoted someone
who said :

> Is the <APPLET> tag the way they usually go, or do they use
>another mechanism?

<applet works fine. The other variations are so complicated and silly
you need automation to generate them. You can't maintain them
manually.

The only advantage of the others is you they will install Java if it
is not there. You can get the same effect with a separate button, once
per page, whose intent is clearer.

See http://mindprod.com/jgloss/applet.html
Signature

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

Roedy Green - 11 Feb 2008 23:18 GMT
On Tue, 29 Jan 2008 12:04:18 -0500, "Aaron J. Margosis"
<noaddress@nothanks.nospam> wrote, quoted or indirectly quoted someone
who said :

>My question:  How do different Java-delivery tools invoke client-side Java
>in their HTML?  Is the <APPLET> tag the way they usually go, or do they use
>another mechanism?  E.g., invoking it as an ActiveX via <OBJECT>

the <object> tag is obscenely complicated.  It is part of Microsoft's
plan to screw Java. Boycott it. It has only one saving grace: it will
auto download a JVM if it is missing.  You can do that more simply
with a button.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Roedy Green - 11 Feb 2008 23:20 GMT
On Tue, 29 Jan 2008 12:04:18 -0500, "Aaron J. Margosis"
<noaddress@nothanks.nospam> wrote, quoted or indirectly quoted someone
who said :

>My question:  How do different Java-delivery tools invoke client-side Java
>in their HTML?  Is the <APPLET> tag the way they usually go, or do they use
>another mechanism?  E.g., invoking it as an ActiveX via <OBJECT>

see http://mindprod.com/jgloss/applet.html#OBJECT
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Richard Maher - 12 Feb 2008 22:12 GMT
Hi Aaron,

Here's another example: -
http://manson.vistech.net/t3$examples/cornucopiae.html

The Applet doesn't actually take up any real-estate on the html page but
pops up a couple of dialogue boxes to handle user authentication. To see it
in action click on: -
http://manson.vistech.net/t3$examples/demo_client_web.html

Password: TIER3_DEMO
Username: QUEUE

All of the HTML/JavaScipt/Java code can be found at: -
http://manson.vistech.net/t3$examples/

In particular: -
http://manson.vistech.net/t3$examples/cornucopiae.java

HTH

Cheers Richard Maher

> I'm not a Java programmer, but I'm trying to solve some application
> compatibility issues with locked down security settings on Windows.
[quoted text clipped - 27 lines]
>
> -- Aaron


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



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