Click to See Complete Forum and Search --> : java vs java applet
vb_student
Jun 26th, 2006, 04:58 PM
Hello
i have a java applicaton in mind, i am not sure if i shold go for a java stand alone application of a java applet.
can you guys tell me what prompts a user to go for a java standalone or a java applet?
TBeck
Jun 26th, 2006, 06:04 PM
Java applets are the way to go if you want to put it on a webpage or show it off to people who do not have a java programing program.
A console application works well if it is just a program you alone are going to use to do certain calculations or something of the sort.
vb_student
Jun 27th, 2006, 03:08 AM
thanks for the reply
if it is a java program which gets information via wifi and bluetooth, would it be better to do it as java or java applet?
CornedBee
Jun 27th, 2006, 05:56 PM
Standalone. Applets are severely limited in what they're allowed to do and will probably be unable to access Wifi and Bluetooth devices.
show it off to people who do not have a java programing program.
Uh, no, applets require a JRE to be installed just like everything else.
ComputerJy
Jun 27th, 2006, 06:30 PM
thanks for the reply
if it is a java program which gets information via wifi and bluetooth, would it be better to do it as java or java applet?
Unless you are associating your applet with some activeX control, you won't be able to use Wifi or Blue-tooth in your applet
show it off to people who do not have a java programing program.
Just like CornedBee said, you'll need JRE to run any program that uses java tech
Iron Skull
Jun 28th, 2006, 10:54 AM
heh NEVER use applet if you dont want your Code to be revealed to anyone..
An JavaApplet can be DeCompiled (Very Easy AND Fast)... Maybe its usefull to know that before you choose.. ;)
CornedBee
Jun 28th, 2006, 11:40 AM
So can a normal Java application. The mechanism is the same.
Iron Skull
Jun 28th, 2006, 02:56 PM
Heh ok then just dont use Java :P
vb_student
Jun 28th, 2006, 03:40 PM
thanks for the reply
Uh, no, applets require a JRE to be installed just like everything else.
i thought the JRE would be embedded in the browser
with activex control , i will be able to use wifi and bluetooth?, isn't activex control a MS technology, what is the Sun (?) equivalent of activeX
So can a normal Java application. The mechanism is the same.
a normal java application can be decompiled?
ComputerJy
Jun 28th, 2006, 05:39 PM
i thought the JRE would be embedded in the browserNo, unless you use a special browser (Neither FireFox nor IE embed JRE)
with activex control , i will be able to use wifi and bluetooth?, isn't activex control a MS technology, what is the Sun (?) equivalent of activeX
So what if they are Microsoft technology, haven't you heard of InterOperation
a normal java application can be decompiled?If you haven't heard of the concept of De-compilers, its your problem, any program in any language can be decompiled (%30 of the source code maximum) so you're code will be safe
An JavaApplet can be De-Compiled (Very Easy AND Fast)
That's barley correct, any program can be decompiled Very Easy AND Fast
vb_student
Jul 1st, 2006, 04:40 PM
thanks for the reply
thanks for the reply compputerjy
then no browser is java applet ready, but they check for the java tags in the html and then check to see if they have the jre
is there a sun version of activex which will enable me to use wifi and bluetooth?
would not a bunch of library functions with an interface enable me to use my java program with bluetooth/wifi?
any program in any language can be decompiled (%30 of the source code maximum) so you're code will be safe
so only 30% of a program can be decompiled
ComputerJy
Jul 1st, 2006, 05:44 PM
is there a sun version of activex which will enable me to use wifi and bluetooth?
I came across this (http://www.javabluetooth.com/development_kits.html) and this (http://today.java.net/pub/a/today/2004/07/27/bluetooth.html) about how to use java with blue-tooth, the second is about JME, I don't know if that's useful for you.
so only 30% of a program can be decompiledThat's not what I meant - not exactly - If you try to decompile any java app or applet using the best decompilers available you'll only get classes names methods names and constant values but you won't get the body of any method
ComputerJy
Jul 1st, 2006, 05:48 PM
I also found out from those links that you can use blue-tooth and wifi directly from java (I thought java can't handle hardware devices) which is a very good news. So now you don't have to include dlls in your app
Iron Skull
Jul 2nd, 2006, 08:28 AM
That's barley correct, any program can be decompiled Very Easy AND Fast
I meen to java code and not to Assembly.
Just check NetForce (or anyother Cracking-Game Site) how to Decompile Java..
ComputerJy
Jul 2nd, 2006, 08:49 AM
I mean to java code and not to Assembly.
Just check NetForce (or any other Cracking-Game Site) how to Decompile Java..
I've seen all types of decompilers and I know it can't give you the whole code,
If you know anyone that can I know people who would pay $10,000 for this type of product. But what everybody knows is
IT DOESN'T EXIST
because Sun isn't a stupid multi-Billion dollar corporation
vb_student
Jul 2nd, 2006, 12:03 PM
thanks for the links dude
perhaps if i name the classes and methods something abstract then one wont know how the code has been written even if the code is decompield, correct?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.