Results 1 to 16 of 16

Thread: java vs java applet

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    java vs java applet

    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?

  2. #2
    Addicted Member TBeck's Avatar
    Join Date
    Apr 2006
    Location
    Ontario, Canada
    Posts
    254

    Re: java vs java applet

    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.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: java vs java applet

    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?

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: java vs java applet

    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.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: java vs java applet

    Quote Originally Posted by vb_student
    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
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  6. #6
    Hyperactive Member Iron Skull's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    325

    Re: java vs java applet

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

    506C65617365205261746520506F7374732E2E2E

  7. #7
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: java vs java applet

    So can a normal Java application. The mechanism is the same.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  8. #8
    Hyperactive Member Iron Skull's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    325

    Re: java vs java applet

    Heh ok then just dont use Java :P

    506C65617365205261746520506F7374732E2E2E

  9. #9

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: java vs java applet

    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?

  10. #10
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: java vs java applet

    i thought the JRE would be embedded in the browser
    No, 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
    Quote Originally Posted by Iron Skull
    An JavaApplet can be De-Compiled (Very Easy AND Fast)
    That's barley correct, any program can be decompiled Very Easy AND Fast
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  11. #11

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: java vs java applet

    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

  12. #12
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: java vs java applet

    is there a sun version of activex which will enable me to use wifi and bluetooth?
    I came across this and this 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 decompiled
    That'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
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  13. #13
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: java vs java applet

    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
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  14. #14
    Hyperactive Member Iron Skull's Avatar
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    325

    Re: java vs java applet

    Quote Originally Posted by ComputerJy
    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..

    506C65617365205261746520506F7374732E2E2E

  15. #15
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: java vs java applet

    Quote Originally Posted by Iron Skull
    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
    Last edited by ComputerJy; Jul 2nd, 2006 at 08:59 AM.
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  16. #16

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: java vs java applet

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width