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. basic poll questions about java

basic poll questions about java

Scheduled Pinned Locked Moved The Lounge
androidquestionjavaoraclevisual-studio
33 Posts 15 Posters 4 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.
  • R raddevus

    I'm thinking about Java and how much I like the idea of Java but I'm also wondering if it really is a dead thing -- except legacy work. In other words: Why would anyone choose to start a new/modern project using Java? Why does it seem that few people do Java dev here (CP) but there seem to always be jobs posted around that want Java dev experience? For Java devs: Which IDE do you use, do you like? Why would I choose JDeveloper (larger) over netbeans? Is JDeveloper any good? It's a huge 2GB download so I'm curious before downloading/installing. Is JDeveloper based upon Eclipse? Is netbeans based upon Eclipse? Note: I used Eclipse in the earlier days of Android Development and thought it was terrible because its concept of a project was not great and it was difficult to take your "project" to another machine and work on it there. Is Java a valid choice for cross-platform development (windows to linux to macOS)? Or is that a dream also? Just curious. Not trying to start a huge war about Java technology and why it's obviously the best/worst etc. I'm thinking about doing some Java work so I'm interested. EDIT Downloaded NetBeans and so far it seems fairly nice and somewhat similar to Android Studio. Maybe NetBeans is all you need. Plus, I believe it runs on Linux too. EDIT 2 I examined a JavaFX sample project and noticed the entire UI was built in code. X| Not even XML files like Android Studio. Then I went out and searched netbeans to see if there was a UI Designer in NetBeans. Well, it says yes for JavaFX 1.0 but no for 2.0. :confused: So then the NetBeans site gives you a trail for learning JavaFX or Swing! yes, they direct you toward Swing. Here's the document they direct you toward. Embedding Swing Content in JavaFX Applications | JavaFX 8 Tutorials and Documentation[^] It is date stamped : Beta Draft: 2013-09-15!!! :wtf: I'm literally cracking up. :laugh: :laugh: Okay, I'm done. Java isn't a thing. Bye, Java. So long and thanks for all the stank. :laugh: FYI - I know I'm being an ignorant dev here and some long-time Java dev is going to come along and tell me that I'm just so wrong. I understand. I was just examining this on a very quick basis to get an idea of how quickly you could jump in to java dev. IntelliJ

    M Offline
    M Offline
    MSBassSinger
    wrote on last edited by
    #22

    Java once served a good purpose - one language that with minor variations, could enable source code to run on different OSs. One of the things that hurt Java was Sun's religious war with Microsoft. The end result was that Microsoft could not adapt and extend Java without violating licensing agreements, and Sun ensured that Java runtimes for Windows were dog-slow compared to other OSs. Sun eventually went out of business from focusing on the religious wars and not on business success. Microsoft created C# when they could not legally use Java, and with the Mono and Xamarin advances in portability, now C# with .NET Standard can run on multiple OSs faster and with a better language than Java. Today, your best bet for portability is C# and .NET Standard. With Xamarin, now a part of Visual Studio (including the free Community Edition), you can write C# code and with little variation, run native code on Windows, iOS, and Android. And with C# and Visual studio, you also can write code that runs on Windows, Linux, and MacOS. Java is fading, and Oracle is not trying to keep up. You want a free UI and development environment? Get Visual Studio 2017 Community Edition and have at it.

    R 1 Reply Last reply
    0
    • R raddevus

      Munchies_Matt wrote:

      So far it seems to be usable on Androids and that's it. My own, outsiders opinion, it that it is dead.

      I think I have to agree. It just seems as if it is irrelevant now as there are other newer better ways that are better supported to get what you want. I only really got involved with Java because of Android and now Android may very well shift to Kotlin. And these reasons we are mentioning are probably why Google is moving toward Kotlin for Android.

      O Offline
      O Offline
      obermd
      wrote on last edited by
      #23

      Not to mention avoiding another drawn out baseless lawsuit from Oracle Corporation.

      1 Reply Last reply
      0
      • R raddevus

        I'm thinking about Java and how much I like the idea of Java but I'm also wondering if it really is a dead thing -- except legacy work. In other words: Why would anyone choose to start a new/modern project using Java? Why does it seem that few people do Java dev here (CP) but there seem to always be jobs posted around that want Java dev experience? For Java devs: Which IDE do you use, do you like? Why would I choose JDeveloper (larger) over netbeans? Is JDeveloper any good? It's a huge 2GB download so I'm curious before downloading/installing. Is JDeveloper based upon Eclipse? Is netbeans based upon Eclipse? Note: I used Eclipse in the earlier days of Android Development and thought it was terrible because its concept of a project was not great and it was difficult to take your "project" to another machine and work on it there. Is Java a valid choice for cross-platform development (windows to linux to macOS)? Or is that a dream also? Just curious. Not trying to start a huge war about Java technology and why it's obviously the best/worst etc. I'm thinking about doing some Java work so I'm interested. EDIT Downloaded NetBeans and so far it seems fairly nice and somewhat similar to Android Studio. Maybe NetBeans is all you need. Plus, I believe it runs on Linux too. EDIT 2 I examined a JavaFX sample project and noticed the entire UI was built in code. X| Not even XML files like Android Studio. Then I went out and searched netbeans to see if there was a UI Designer in NetBeans. Well, it says yes for JavaFX 1.0 but no for 2.0. :confused: So then the NetBeans site gives you a trail for learning JavaFX or Swing! yes, they direct you toward Swing. Here's the document they direct you toward. Embedding Swing Content in JavaFX Applications | JavaFX 8 Tutorials and Documentation[^] It is date stamped : Beta Draft: 2013-09-15!!! :wtf: I'm literally cracking up. :laugh: :laugh: Okay, I'm done. Java isn't a thing. Bye, Java. So long and thanks for all the stank. :laugh: FYI - I know I'm being an ignorant dev here and some long-time Java dev is going to come along and tell me that I'm just so wrong. I understand. I was just examining this on a very quick basis to get an idea of how quickly you could jump in to java dev. IntelliJ

        O Offline
        O Offline
        obermd
        wrote on last edited by
        #24

        Java isn't dead yet, but Oracle is working hard to kill it.

        A R 2 Replies Last reply
        0
        • M MSBassSinger

          Java once served a good purpose - one language that with minor variations, could enable source code to run on different OSs. One of the things that hurt Java was Sun's religious war with Microsoft. The end result was that Microsoft could not adapt and extend Java without violating licensing agreements, and Sun ensured that Java runtimes for Windows were dog-slow compared to other OSs. Sun eventually went out of business from focusing on the religious wars and not on business success. Microsoft created C# when they could not legally use Java, and with the Mono and Xamarin advances in portability, now C# with .NET Standard can run on multiple OSs faster and with a better language than Java. Today, your best bet for portability is C# and .NET Standard. With Xamarin, now a part of Visual Studio (including the free Community Edition), you can write C# code and with little variation, run native code on Windows, iOS, and Android. And with C# and Visual studio, you also can write code that runs on Windows, Linux, and MacOS. Java is fading, and Oracle is not trying to keep up. You want a free UI and development environment? Get Visual Studio 2017 Community Edition and have at it.

          R Offline
          R Offline
          raddevus
          wrote on last edited by
          #25

          That's actually a very astute, well-informed summary of the situation, I think.

          MSBassSinger wrote:

          Java is fading, and Oracle is not trying to keep up

          That was my exact feeling as I attempted to try some simple things with Java.

          MSBassSinger wrote:

          Today, your best bet for portability is C# and .NET Standard. With Xamarin, now a part of Visual Studio (including the free Community Edition)

          I agree again. I also just deployed an ASP.NET MVC app to my DigitalOcean droplet (Debian) as a dotnet core app and was amazed at how well it works on the little Linux container with limited resources, etc.

          1 Reply Last reply
          0
          • T tobofopo

            No, I've got no public code - it's all proprietary (but more out of laziness than anything). Though I really aught to publish my general-purpose template driver library for the ARM-based Atmel SAM series of microcontrollers. One might argue that template programming is sometimes inefficient code size-wise, but microcontrollers often have a generous amount of on-board flash (and really very little in the way of RAM) so it doesn't matter. Also, as we can make the compiler produce code for each individual module, say a timer, we don't need to maintain differences between one timer and another e.g. register addresses, I/O pin assignments, differences in functional ability etc in precious RAM - it can all get hard coded with added performance benefits. If you're interested, I recommend "Real-Time C++ - Efficient Object-Orientated and Template Microcontroller Programming" by Chris Kormanyos.

            A Offline
            A Offline
            Andre Pereira
            wrote on last edited by
            #26

            Exactly, ROM is usually not an issue, RAM is. So the extra cost doesn't really affect. I've yet to master a simple and effective way of doing some sort of HAL, and will need it soon (migrating some projects from AtTiny85 and AtMega328P to STM32), without resorting to high-level overloading. Any tips on that? I'll take a peek at the book, thanks for the reference.

            1 Reply Last reply
            0
            • R raddevus

              Yeah, I've done both (C on Arudino and the newer Arduino) and I definitely agree with you. Plus, C++ is the language I learned to program in the beginning so I will always have a fondness for it. :)

              A Offline
              A Offline
              Andre Pereira
              wrote on last edited by
              #27

              If you use pointers and a #define null nullptr, you can almost pretend you're using a high level language :p

              1 Reply Last reply
              0
              • O obermd

                Java isn't dead yet, but Oracle is working hard to kill it.

                A Offline
                A Offline
                Andre Pereira
                wrote on last edited by
                #28

                Google is not helping as well. They are pushing their "Kotlin" language pretty hard. I just unsubscribed from Android Weekly today, because I realised that they stopped listing articles about Android and now every article is about getting old and common stuff to work on Kotlin. I'll refrain from learning a proprietary language, thank you.

                1 Reply Last reply
                0
                • O obermd

                  Java isn't dead yet, but Oracle is working hard to kill it.

                  R Offline
                  R Offline
                  raddevus
                  wrote on last edited by
                  #29

                  obermd wrote:

                  but Oracle is working hard to kill it.

                  It really does feel that way. When they took ownership then sued Google for infringement on their use in Android I thought maybe that was Oracle's only point of buying up Java. Then, after the failed litigation Oracle backed away from Java almost instantly and it convinced me even more that the only reason they wanted it was because they saw litigation dollars laying on the table. :|

                  1 Reply Last reply
                  0
                  • R Ravi Bhavnani

                    Java continues to be very popular and in demand.  Server devs tend to use IntelliJ and Android devs tend to use Android Studio.  Eclipse is old hat - I don't know any devs who still use it. /ravi

                    My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                    A Offline
                    A Offline
                    Abbas A Ali
                    wrote on last edited by
                    #30

                    Ravi Bhavnani:

                    Eclipse is old hat - I don't know any devs who still use it.

                    Yeah well I guess we don't know each other! ;P We still use Eclipse for our older projects where I work. But just to make everything perfectly clear I'd never use Eclipse it's terrible.

                    1 Reply Last reply
                    0
                    • R raddevus

                      jschell wrote:

                      Notice where C is in that list?

                      Yes, but C specifically solves a problem that other languages really do not, or do not do well: embedded programming. And for embedded programming, C is as good as ever. It makes sense to use C in embedded programming since Object Oriented languages are overkill for the most part. I guess anything can be compiled down but good old C just works.

                      jschell wrote:

                      I know that do UIs use javascript and html

                      That's my point also. If a person is working on a desktop or app type of thing then Java hasn't provided a great way to build UIs. And since HTML / CSS is there, why not just use that since you app will "deploy" in multiple worlds. Also, now with dotnet core you can run your ASP.NET MVC web site on Linux* so easily so why would anyone even choose Java EE / JSP etc? I just worked through getting an ASP.NET MVC web site running on a DigitalOcean droplet (Debian) and it worked so well it was amazing. .NET dev on Linux is very easy now so Java will probably lose more ground.

                      J Offline
                      J Offline
                      jschell
                      wrote on last edited by
                      #31

                      raddevus wrote:

                      Yes, but C specifically solves a problem that other languages really do not, or do not do well: embedded programming. And for embedded programming, C is as good as ever. It makes sense to use C in embedded programming since Object Oriented languages are overkill for the most part. I guess anything can be compiled down but good old C just works.

                      That is a rationalization. I know a company that only works in C++ and they are not doing embedded programming. All server side. And my response was to your suggestion that Java was dying and that C# would specifically replace it. There is no evidence of that and Java being an "old" language has nothing to do with that.

                      raddevus wrote:

                      And since HTML / CSS is there, why not just use that since you app will "deploy" in multiple worlds.

                      Not sure what that means. On the client side, in my experience, complex projects use html and javascript. CSS is part of that mix but helps the other two - it is not a solution by itself. But regardless none of that has anything to do with Java nor C#.

                      raddevus wrote:

                      Also, now with dotnet core you can run your ASP.NET MVC web site on Linux* so easily so why would anyone even choose Java EE / JSP etc?

                      I can run Apache (http server) and perl CGI on probably every system that exists in the world going back to the 70s. That includes all current flavors of linux, Mac OSX (and prior ones) and windows going back to about Windows 95. Doesn't mean I want to however.

                      raddevus wrote:

                      and it worked so well it was amazing.

                      And I like oatmeal raisin cookies but that doesn't mean that I am going to claim that chocolate chip cookies are doomed.

                      1 Reply Last reply
                      0
                      • R raddevus

                        jschell wrote:

                        Notice where C is in that list?

                        Yes, but C specifically solves a problem that other languages really do not, or do not do well: embedded programming. And for embedded programming, C is as good as ever. It makes sense to use C in embedded programming since Object Oriented languages are overkill for the most part. I guess anything can be compiled down but good old C just works.

                        jschell wrote:

                        I know that do UIs use javascript and html

                        That's my point also. If a person is working on a desktop or app type of thing then Java hasn't provided a great way to build UIs. And since HTML / CSS is there, why not just use that since you app will "deploy" in multiple worlds. Also, now with dotnet core you can run your ASP.NET MVC web site on Linux* so easily so why would anyone even choose Java EE / JSP etc? I just worked through getting an ASP.NET MVC web site running on a DigitalOcean droplet (Debian) and it worked so well it was amazing. .NET dev on Linux is very easy now so Java will probably lose more ground.

                        H Offline
                        H Offline
                        hpcoder2
                        wrote on last edited by
                        #32

                        .Net on Linux doesn't appear to have any GUI support. Nor a decent debugger

                        R 1 Reply Last reply
                        0
                        • H hpcoder2

                          .Net on Linux doesn't appear to have any GUI support. Nor a decent debugger

                          R Offline
                          R Offline
                          raddevus
                          wrote on last edited by
                          #33

                          Thanks for chiming in on the discussion. That is a very good point that I didn't consider or know about. :thumbsup:

                          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