Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Java CodeProject

Java CodeProject

Scheduled Pinned Locked Moved The Lounge
javaquestion
27 Posts 14 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Stephane Rodriguez

    Boolean.true in pure Java perspective! :wtf:

    R Offline
    R Offline
    Rickard Andersson20
    wrote on last edited by
    #7

    .S.Rod. wrote: Boolean.true Okay then, but I don't know Java... and after what people here on CP said about Java when I asked if Java is bad or good... I don't think wanna know Java... :~ Rickard Andersson8 Here is my card, contact me later! UIN: 50302279 E-Mail: nikado@pc.nu Interests: C++, ADO, SQL, Winsock, 0s and 1s

    P S 2 Replies Last reply
    0
    • C Chris9820

      Hi, is there anything like CP for Java development? Chris

      P Offline
      P Offline
      perx
      wrote on last edited by
      #8

      Have a look at the Java Tutorial: http://java.sun.com/tutorial/ NOTE TO VC++ GEEKS OUT THERE Don't follow this link for any reason, it can excite envy to you! :wtf:

      R 1 Reply Last reply
      0
      • C Chris9820

        Hi, is there anything like CP for Java development? Chris

        V Offline
        V Offline
        Venkatraman
        wrote on last edited by
        #9

        www.theserverside.com[^] Cheers, Venkatraman Kalyanam Chennai - India "Being Excellent is not a skill, it is an attitude"

        1 Reply Last reply
        0
        • R Rickard Andersson20

          .S.Rod. wrote: Boolean.true Okay then, but I don't know Java... and after what people here on CP said about Java when I asked if Java is bad or good... I don't think wanna know Java... :~ Rickard Andersson8 Here is my card, contact me later! UIN: 50302279 E-Mail: nikado@pc.nu Interests: C++, ADO, SQL, Winsock, 0s and 1s

          P Offline
          P Offline
          Paul Watson
          wrote on last edited by
          #10

          Rickard Andersson18 wrote: and after what people here on CP said about Java when I asked if Java is bad or good... I don't think wanna know Java... Java is fine. Java runtime environment bad. Actually the other day I was shocked to find myself LIKING a Java Applet embedded in a web page. I even, but only for a picosecond, considered licensing the applet for my projects.

          Paul Watson
          Bluegrass
          Cape Town, South Africa

          Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er Shog9: Paul "The human happy pill" Watson

          S D B 3 Replies Last reply
          0
          • P Paul Watson

            Rickard Andersson18 wrote: and after what people here on CP said about Java when I asked if Java is bad or good... I don't think wanna know Java... Java is fine. Java runtime environment bad. Actually the other day I was shocked to find myself LIKING a Java Applet embedded in a web page. I even, but only for a picosecond, considered licensing the applet for my projects.

            Paul Watson
            Bluegrass
            Cape Town, South Africa

            Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er Shog9: Paul "The human happy pill" Watson

            S Offline
            S Offline
            Stephane Rodriguez
            wrote on last edited by
            #11

            Paul Watson wrote: LIKING a Java Applet I have never licked a Java applet. Bad taste, pretty sure! ;)

            1 Reply Last reply
            0
            • R Rickard Andersson20

              .S.Rod. wrote: Boolean.true Okay then, but I don't know Java... and after what people here on CP said about Java when I asked if Java is bad or good... I don't think wanna know Java... :~ Rickard Andersson8 Here is my card, contact me later! UIN: 50302279 E-Mail: nikado@pc.nu Interests: C++, ADO, SQL, Winsock, 0s and 1s

              S Offline
              S Offline
              Stephane Rodriguez
              wrote on last edited by
              #12

              Want to see a scary figure about .NET booleans btw? bool b; int b_layoutsize = Marshal.SizeOf(b); MessageBox.Show("a single .NET boolean takes " + b_layoutsize + " bytes in memory");

              R 1 Reply Last reply
              0
              • O Olli
                #ifndef VB
                #define TRUE 1
                #define FALSE !TRUE
                #endif
                

                :rolleyes::rolleyes:

                Olli Make it idiot proof and someone will make a better idiot......
                :suss: :rolleyes: :suss:

                P Offline
                P Offline
                peterchen
                wrote on last edited by
                #13

                No, youre completely wrong. it's - i've seen it! -

                #define True 1
                #define TRUE -1
                #define False !True
                #define FALSE !TRUE

                :~


                "Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
                sighist | Agile Programming | doxygen

                O 1 Reply Last reply
                0
                • P peterchen

                  No, youre completely wrong. it's - i've seen it! -

                  #define True 1
                  #define TRUE -1
                  #define False !True
                  #define FALSE !TRUE

                  :~


                  "Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
                  sighist | Agile Programming | doxygen

                  O Offline
                  O Offline
                  Olli
                  wrote on last edited by
                  #14

                  True, what i left was not right.

                  Olli Make it idiot proof and someone will make a better idiot......
                  :suss: :rolleyes: :suss:

                  B 1 Reply Last reply
                  0
                  • P Paul Watson

                    Rickard Andersson18 wrote: and after what people here on CP said about Java when I asked if Java is bad or good... I don't think wanna know Java... Java is fine. Java runtime environment bad. Actually the other day I was shocked to find myself LIKING a Java Applet embedded in a web page. I even, but only for a picosecond, considered licensing the applet for my projects.

                    Paul Watson
                    Bluegrass
                    Cape Town, South Africa

                    Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er Shog9: Paul "The human happy pill" Watson

                    D Offline
                    D Offline
                    David Wulff
                    wrote on last edited by
                    #15

                    Paul Watson wrote: I even, but only for a picosecond, considered licensing the applet for my projects. Yeah I've seen that shimmering text applet too - it's pretty. :rolleyes:


                    David Wulff

                    What the hell did I ever do to anyone?

                    1 Reply Last reply
                    0
                    • C Chris9820

                      Hi, is there anything like CP for Java development? Chris

                      Z Offline
                      Z Offline
                      zack
                      wrote on last edited by
                      #16

                      there is jguru: www.jguru.com

                      1 Reply Last reply
                      0
                      • S Stephane Rodriguez

                        Want to see a scary figure about .NET booleans btw? bool b; int b_layoutsize = Marshal.SizeOf(b); MessageBox.Show("a single .NET boolean takes " + b_layoutsize + " bytes in memory");

                        R Offline
                        R Offline
                        Rickard Andersson20
                        wrote on last edited by
                        #17

                        .S.Rod. wrote: bool b; int b_layoutsize = Marshal.SizeOf(b); MessageBox.Show("a single .NET boolean takes " + b_layoutsize + " bytes in memory"); Okay, I guess it's much memory under a boolean in .NET when you say it's scary? :) (I don't have VS.NET on this machine, so I can't try it) Rickard Andersson8 Here is my card, contact me later! UIN: 50302279 E-Mail: nikado@pc.nu Interests: C++, ADO, SQL, Winsock, 0s and 1s

                        1 Reply Last reply
                        0
                        • C Chris9820

                          Hi, is there anything like CP for Java development? Chris

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #18

                          Check these out: // everything related to Java www.jguru.com // Open Source for all (mostly Java and some non-Microsoft native) www.apache.org // Open Source most popular Application Server. An Application Server is a Java To Enterprise Edition reference implementation (implements specs) and you can think of it as .NET Framework (if this makes any easier for you). You will be able to use Java Naming and Directory Interface (JNDI) -an abstract framework for distributed object directories management, Enterprise Java Beans (EJB) - an automation of mapping your objects to any type of dabase and remoting of your objects, www.jboss.org // Jackarta Tomcat is Open Source most popular Servlet Engine. Think of it as runtime for you ASP pages, instead use Java and JSP extension for your server side programing. You can either implement your servlet as an extension of servlet framework implemented by Tomcat or embed your Java right into HTML and on first request Tomcat will compile those .jsp pages into .class files that comply with Servlet specs. jakarta.apache.org Good luck ;) Marat Kagetsya dogd' nashinaetsya :)

                          1 Reply Last reply
                          0
                          • P perx

                            Have a look at the Java Tutorial: http://java.sun.com/tutorial/ NOTE TO VC++ GEEKS OUT THERE Don't follow this link for any reason, it can excite envy to you! :wtf:

                            R Offline
                            R Offline
                            Ryan Binns
                            wrote on last edited by
                            #19

                            perx wrote: NOTE TO VC++ GEEKS OUT THERE Don't follow this link for any reason, it can excite envy to you! Nope. I'm more likely to throw up :) Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
                            Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

                            L 1 Reply Last reply
                            0
                            • O Olli

                              True, what i left was not right.

                              Olli Make it idiot proof and someone will make a better idiot......
                              :suss: :rolleyes: :suss:

                              B Offline
                              B Offline
                              Brian Delahunty
                              wrote on last edited by
                              #20

                              next time Olli, next time :-) Regards, Brian Dela :-)

                              1 Reply Last reply
                              0
                              • R Ryan Binns

                                perx wrote: NOTE TO VC++ GEEKS OUT THERE Don't follow this link for any reason, it can excite envy to you! Nope. I'm more likely to throw up :) Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
                                Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #21

                                Have you used Java or J2EE? ;) Kagetsya dogd' nashinaetsya :)

                                R 1 Reply Last reply
                                0
                                • L Lost User

                                  Have you used Java or J2EE? ;) Kagetsya dogd' nashinaetsya :)

                                  R Offline
                                  R Offline
                                  Ryan Binns
                                  wrote on last edited by
                                  #22

                                  Yes, but thankfully not very much. :) Java itself is ok, but any program run under the JRE is automatically the slowest piece of software in the world. It's ok for web stuff (because of its cross-platform properties) but using it for anything else is the most stupid decision that someone could make, unless of course they don't care about having time to make (and drink) a cup of coffee in between each instruction. I just hope that I never have to touch it again. Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
                                  Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

                                  L 1 Reply Last reply
                                  0
                                  • R Ryan Binns

                                    Yes, but thankfully not very much. :) Java itself is ok, but any program run under the JRE is automatically the slowest piece of software in the world. It's ok for web stuff (because of its cross-platform properties) but using it for anything else is the most stupid decision that someone could make, unless of course they don't care about having time to make (and drink) a cup of coffee in between each instruction. I just hope that I never have to touch it again. Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
                                    Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

                                    L Offline
                                    L Offline
                                    Lost User
                                    wrote on last edited by
                                    #23

                                    The 'not very much' part says it all.... It's just like saying "I hate something just because I don't know it". Kagetsya dogd' nashinaetsya :)

                                    R 1 Reply Last reply
                                    0
                                    • P Paul Watson

                                      Rickard Andersson18 wrote: and after what people here on CP said about Java when I asked if Java is bad or good... I don't think wanna know Java... Java is fine. Java runtime environment bad. Actually the other day I was shocked to find myself LIKING a Java Applet embedded in a web page. I even, but only for a picosecond, considered licensing the applet for my projects.

                                      Paul Watson
                                      Bluegrass
                                      Cape Town, South Africa

                                      Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er Shog9: Paul "The human happy pill" Watson

                                      B Offline
                                      B Offline
                                      Brian Delahunty
                                      wrote on last edited by
                                      #24

                                      So. You like Java Applets now Paul... Hmmm... Testing friendships is all your doing now Paul. Regards, Brian Dela :-)

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        The 'not very much' part says it all.... It's just like saying "I hate something just because I don't know it". Kagetsya dogd' nashinaetsya :)

                                        R Offline
                                        R Offline
                                        Ryan Binns
                                        wrote on last edited by
                                        #25

                                        Not at all. I've been programming in Java for about 3 years, although not in the last 6 months. It's similar enough to C++ that it was very quick to learn (since I've been programming in C++ for about 7yrs). Even running on my Celeron 900 a really simple app is really slow. I don't like the JRE and the fact that Java is interpreted and not compiled. It makes it perfect for web stuff, but pretty useless for apps that need a bit of performance. I don't have a problem with the language, but simply the fact that it is interpreted and is therefore really slow. If someone wrote a compiler that produced standalone executables (I'm not sure if one exists) then I'd look at Java more. But until then I don't see the point of it for most situations. Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
                                        Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

                                        S L 2 Replies Last reply
                                        0
                                        • R Ryan Binns

                                          Not at all. I've been programming in Java for about 3 years, although not in the last 6 months. It's similar enough to C++ that it was very quick to learn (since I've been programming in C++ for about 7yrs). Even running on my Celeron 900 a really simple app is really slow. I don't like the JRE and the fact that Java is interpreted and not compiled. It makes it perfect for web stuff, but pretty useless for apps that need a bit of performance. I don't have a problem with the language, but simply the fact that it is interpreted and is therefore really slow. If someone wrote a compiler that produced standalone executables (I'm not sure if one exists) then I'd look at Java more. But until then I don't see the point of it for most situations. Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
                                          Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

                                          S Offline
                                          S Offline
                                          Stephane Rodriguez
                                          wrote on last edited by
                                          #26

                                          I can't believe you don't know both Sun and MS have been distributing native exe gens for years. For instance, MS distributes jexegen.exe (part of the Java SDK).

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups