Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Can i sign an Applet in Netbeans 6.5

Can i sign an Applet in Netbeans 6.5

Can i sign an Applet in Netbeans 6.5

Hello there,

Please can anyone tell me if i can sign an Applet within Netbeans?  I am writing an applet to access an oracle database on our network, and i understand it needs to be signed in order to do this?

The applet works fine in the Netbeans Applet viewer, but not from a browser.

Also, does anyone know of a good turorial to fully understand how to do this?  the ones that came up in the thread search seem no longer valid.

Many thanks,

RE: Can i sign an Applet in Netbeans 6.5


Thanks for the links, i did find a bunch of articles on signing applets manually before i posted.

I was wondering however if it was possible to do it directly from the Netbeans IDE, as you can create ketstores etc.


RE: Can i sign an Applet in Netbeans 6.5

Something like this?

If you're looking for a rigth-click > Sign Applet, I don't think you can find it


RE: Can i sign an Applet in Netbeans 6.5


Actually, NetBeans DOES have built in self-signing capabilities.  This may or may not be what you are looking for, but will certainly get your oracle connection moving along, but perhaps with an annoying security dialog.

Here's how you do it:

1.  Open your project.
2.  Go to File --> Project Properties.
3.  Click "Web Start"
4.  Click "Enable Web Start" (this is misleading, but click it anyways)
5.  Click "Self-signed"

Now build your applet and try it out in a browser.  You will now be prompted to accept a digital signature when running your applet.

As far as Web Start goes, you may not intend on deploying your app using Web Start.  You'll also see a "JNLP" file in your build directory.  Ignore it for now, it's just the webstart launcher.  The important part is now you can test in a browser.

When you decide to suppress the security dialog, you'll need to dig deeper into signatures.

Also note, this will add about 15 seconds to your build time (even longer for larger projects).


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close