New to Java programming

27 replies
Hi. I am learning Java for 4 days and i wonder how people create these great apps while i can create simple " sum " apps with the console. Can somebody tell me what are the opportunities of Java. I also installed Android SDK and created my first Android app but i cannot connect the java code with the xml ( i worked only with the xml ). Thanks in advance...
#java #programming
  • Profile picture of the author lovenot
    By making use of api and frameworks available to you. You need more research about what are available for what you want to create.

    Long way to go! Good luck.
    {{ DiscussionBoard.errors[4789196].message }}
    • Profile picture of the author VladislavTodorov
      I completely agree with lovenot. The very essence of programming is not to reinvent the wheel, it is made by "lazy" people for "lazy" people, so you should learn to research what API's are already available to you in the public. With time, your google-ing skills greatly increase, believe me. First however, I would suggest that you learn the syntax and concepts very well, practice good software design practices for OO languages such as Java, and then you can target more ambitious projects by finding what API's are freely available to you/you can afford.
      Best of luck, mate
      Vlado

      Originally Posted by lovenot View Post

      By making use of api and frameworks available to you. You need more research about what are available for what you want to create.

      Long way to go! Good luck.
      {{ DiscussionBoard.errors[4813852].message }}
      • Profile picture of the author ttrfanatic
        Being that you have only been studying Java for 4 days, I would say you definitely have a long way to go before you can truly begin to create "great apps". I have been programming over 20 years and it still takes me quite awhile to create an app that I think worthy of someone besides myself using. If you are looking to create a specific app within a certain timeframe, then I would suggest that you try outsourcing your work. But if you are just trying to learn the skill for your own knowledge and use down the road then the best advice is to keep on studying. There are plenty of resources on web for learning Java as well as any other language you may be interested in. Good Luck!!!
        {{ DiscussionBoard.errors[4814860].message }}
  • Profile picture of the author Jonas B
    You should take a look at javax.swing to create visual applications.

    Also you should learn OO etc, start building simple apps, and get experience.

    I also highly suggest you look at great frameworks to see how they do it and learn from it, that's how i did it and i'm pretty advanced in java now.
    Signature
    Proud owner of the most flexible mobile app builder. Check it out at http://bit.ly/hybrica!
    Mobile Web Expert & Android Developer
    {{ DiscussionBoard.errors[4816001].message }}
  • Profile picture of the author ChartTraderZ
    Java is good for developing applications, but a bit heavy and not so effective for internet marketing. Better to learn PHP.
    Signature

    Don't waste time, focus on the basics, take action and get paid!

    {{ DiscussionBoard.errors[4816314].message }}
    • Profile picture of the author DEaFeYe
      Banned
      [DELETED]
      {{ DiscussionBoard.errors[4877002].message }}
      • Profile picture of the author logicfishsw
        I'm surprised no-one has mentioned the eclipse IDE from IBM. It's the "open-office" of programming, especially java.
        Plus, it supports a huge variety of languages and platforms through plugins, of which there are thousands.
        There really is nothing else like it.
        {{ DiscussionBoard.errors[4890311].message }}
  • Profile picture of the author Excitingsong
    I'm new here in this forum and everything i read is really nice.
    I learned a lot here.
    {{ DiscussionBoard.errors[4818461].message }}
  • Profile picture of the author hardy1
    hello
    I think that the Java technology as programming language and a platform. Java technology is a simple, secure, robust, complete object oriented and platform independent high level programming language. It is also portable, high performance, multithreaded and networksavy that enable it in constructing software that can run along in small machines. The whole technology is based on the concept of Java Virtual Machine (JVM) that acts as a translators of byte code into machine language. In other words JVM converts the java byte codes into platform specific machine language.
    {{ DiscussionBoard.errors[4847942].message }}
  • Profile picture of the author linux2aix
    Here is a list of Java project opportunities (I will be addiing to this list as new ideas come to mind):
    1. Graphical Animation of Actively Controlled Mass-Spring Systems.
    2. Java Graphical Interface for Stuctural Analysis Learning Tool (SALT).
    3. Decision Tree Applet using Java Swing.
    4. Specification and Engineering Analysis of Planar Polygons.
    5. Java-based Geometric Modeling Workbench
    6. Task Interaction Analysis for Engineering Project Development
    7. Shell Game to teach Conditional Probability in ENCE 302
    8. Statistics Tutor.
    9. Block Diagram Editor
    In selecting a project, please keep in mind that students should work in teams of two. I am particularly interested in projects that make good use Java Swing and Java2D, and possibly explore Java3D and Java working with XML
    {{ DiscussionBoard.errors[4848152].message }}
  • Profile picture of the author eminc
    Originally Posted by katsar0v View Post

    I also installed Android SDK and created my first Android app but i cannot connect the java code with the xml ( i worked only with the xml )
    For XML Parsing, you can refer to resource found in Google. I am new to this forum, so can't paste links. Try searching "parsing xml file in java" in google. And read about SAX Parser and DOM Parser also.

    IMHO you have to decide what is the end result that you want to achieve by using java. If you are interested in Web applications, learn core java and then pick up some nice framework (Struts, spring, etc. ) and get going with it. I am not sure for the android development, but you need to learn different things for that.

    Since you are just beginning, I would suggest go to Oracle website for Java tutorials and follow the learning trail. If you have to core concepts clear, learning something else will be quite easy. So concentrate on OOP concepts and core java first.

    Regards
    Mohiit
    Signature

    The best way to predict future is to create it ― Abraham Lincoln

    {{ DiscussionBoard.errors[4848482].message }}
  • Profile picture of the author cannons
    Dude JAVA is a language with limitless posiblities. I made an app that was literally motion tracking me on a video from my webcam.

    Since it has only been 4 days work your way through it you will fall in love with java.

    You can do anything with it and if you can't find thingss you want to do in the default libraries there is always always and external library available for it.

    Have patience nobody can just create an NIDS in 4 days
    {{ DiscussionBoard.errors[4870803].message }}
  • Profile picture of the author bulram
    Java technology is both a programming language and a platform. Java language is a high-level language. Every full implementation of the Java platform gives you Development Tools, Application Programming Interface, Deployment Technologies, User Interface Toolkits and Integration Libraries.
    Above examples cannot change your life but is good starting point!
    Signature

    |How Does A Debt Management Plan Work|Diet Plans for Weight Loss|Health Insurance|Save Money|

    {{ DiscussionBoard.errors[4873524].message }}
  • Profile picture of the author wndershare
    Key Benefits of Java

    Why use Java at all? Is it worth learning a new language and a new platform? This section explores some of the key benefits of Java.
    1. Write Once, Run Anywhere

    Sun identifies "Write once, run anywhere" as the core value proposition of the Java platform. Translated from business jargon, this means that the most important promise of Java technology is that you only have to write your application once--for the Java platform--and then you'll be able to run it anywhere.

    Anywhere, that is, that supports the Java platform. Fortunately, Java support is becoming ubiquitous. It is integrated, or being integrated, into practically all major operating systems. It is built into the popular web browsers, which places it on virtually every Internet-connected PC in the world. It is even being built into consumer electronic devices, such as television set-top boxes, PDAs, and cell phones.
    2. Security

    Another key benefit of Java is its security features. Both the language and the platform were designed from the ground up with security in mind. The Java platform allows users to download untrusted code over a network and run it in a secure environment in which it cannot do any harm: it cannot infect the host system with a virus, cannot read or write files from the hard drive, and so forth. This capability alone makes the Java platform unique.

    The Java 2 Platform takes the security model a step further. It makes security levels and restrictions highly configurable and extends them beyond applets. As of Java 1.2, any Java code, whether it is an applet, a servlet, a JavaBeans component, or a complete Java application, can be run with restricted permissions that prevent it from doing harm to the host system.


    3. Dynamic, Extensible Programs

    Java is both dynamic and extensible. Java code is organized in modular object-oriented units called classes. Classes are stored in separate files and are loaded into the Java interpreter only when needed. This means that an application can decide as it is running what classes it needs and can load them when it needs them. It also means that a program can dynamically extend itself by loading the classes it needs to expand its functionality.

    The network-centric design of the Java platform means that a Java application can dynamically extend itself by loading new classes over a network. An application that takes advantage of these features ceases to be a monolithic block of code. Instead, it becomes an interacting collection of independent software components. Thus, Java enables a powerful new metaphor of application design and development.
    1.2.5. Internationalization

    The Java language and the Java platform were designed from the start with the rest of the world in mind. Java is the only commonly used programming language that has internationalization features at its very core, rather than tacked on as an afterthought. While most programming languages use 8-bit characters that represent only the alphabets of English and Western European languages, Java uses 16-bit Unicode characters that represent the phonetic alphabets and ideographic character sets of the entire world. Java's internationalization features are not restricted to just low-level character representation, however. The features permeate the Java platform, making it easier to write internationalized programs with Java than it is with any other environment.
    {{ DiscussionBoard.errors[4875152].message }}
    • Profile picture of the author nathan skyes
      Originally Posted by wndershare View Post

      Key Benefits of Java

      Why use Java at all? Is it worth learning a new language and a new platform? This section explores some of the key benefits of Java.
      1. Write Once, Run Anywhere

      Sun identifies "Write once, run anywhere" as the core value proposition of the Java platform. Translated from business jargon, this means that the most important promise of Java technology is that you only have to write your application once--for the Java platform--and then you'll be able to run it anywhere.

      Anywhere, that is, that supports the Java platform. Fortunately, Java support is becoming ubiquitous. It is integrated, or being integrated, into practically all major operating systems. It is built into the popular web browsers, which places it on virtually every Internet-connected PC in the world. It is even being built into consumer electronic devices, such as television set-top boxes, PDAs, and cell phones.
      2. Security

      Another key benefit of Java is its security features. Both the language and the platform were designed from the ground up with security in mind. The Java platform allows users to download untrusted code over a network and run it in a secure environment in which it cannot do any harm: it cannot infect the host system with a virus, cannot read or write files from the hard drive, and so forth. This capability alone makes the Java platform unique.

      The Java 2 Platform takes the security model a step further. It makes security levels and restrictions highly configurable and extends them beyond applets. As of Java 1.2, any Java code, whether it is an applet, a servlet, a JavaBeans component, or a complete Java application, can be run with restricted permissions that prevent it from doing harm to the host system.


      3. Dynamic, Extensible Programs

      Java is both dynamic and extensible. Java code is organized in modular object-oriented units called classes. Classes are stored in separate files and are loaded into the Java interpreter only when needed. This means that an application can decide as it is running what classes it needs and can load them when it needs them. It also means that a program can dynamically extend itself by loading the classes it needs to expand its functionality.

      The network-centric design of the Java platform means that a Java application can dynamically extend itself by loading new classes over a network. An application that takes advantage of these features ceases to be a monolithic block of code. Instead, it becomes an interacting collection of independent software components. Thus, Java enables a powerful new metaphor of application design and development.
      1.2.5. Internationalization

      The Java language and the Java platform were designed from the start with the rest of the world in mind. Java is the only commonly used programming language that has internationalization features at its very core, rather than tacked on as an afterthought. While most programming languages use 8-bit characters that represent only the alphabets of English and Western European languages, Java uses 16-bit Unicode characters that represent the phonetic alphabets and ideographic character sets of the entire world. Java's internationalization features are not restricted to just low-level character representation, however. The features permeate the Java platform, making it easier to write internationalized programs with Java than it is with any other environment.
      this advice is great, thank you
      {{ DiscussionBoard.errors[10272650].message }}
  • Profile picture of the author DavidWincent
    You are a beginner. You will require some time to master Java. Good to here that you created your first Android app. You can use API's that can connect Java code with XML. Java is found everywhere, in mobiles, in automatic washing machines, refrigerators, etc so there are many opportunities available for Java.
    Signature
    Webmaster Studio -A premier web design and internet marketing company in New York.
    {{ DiscussionBoard.errors[4891054].message }}
  • Profile picture of the author thetaspark
    Originally Posted by katsar0v View Post

    Hi. I am learning Java for 4 days and i wonder...
    I also installed Android SDK and created my first Android app...
    After 7 months now, I wonder how far you've gone with Java and Android...
    Within this period, I have also been studying both, and I must say that my transition from Java to Android was made painless and stress free by using Bucky Robert's Android App Dev Tutorial and Sam's teach yourself Android in 24 hours.
    {{ DiscussionBoard.errors[6310523].message }}
  • You can use a IDE like NetBeans and create great apps. But I dont recommend this for beginners.
    Signature
    {{ DiscussionBoard.errors[6311451].message }}
    • Profile picture of the author harrietadamz
      Banned
      [DELETED]
      {{ DiscussionBoard.errors[6343676].message }}
      • Profile picture of the author dawidtailor
        Originally Posted by harrietadamz View Post

        First you need the newest Java SDK - the developer's kit. This will allow you to write/compile Java programs in the first place. Note: this is different from the Java JRE, the Java Runtime Environment, which is what all computers require to run Java programs.Next, you need a good text editor. I haven't used NetBeans, but I heard it's decent. If you want something simpler to start with, however, I would recommend using TextPad. It's the only thing I've ever used when programming in Java.
        Hi,I use asp.net but now i want to learn java because i like learn different languages so can you describe here some more information about java so i can easily getting more information.In java which text editor we can use?
        {{ DiscussionBoard.errors[6349208].message }}
  • Profile picture of the author gowthamgutha
    The world itself depends upon Java! Without Java you cannot imagine internet and cloud computing, there are no web apps.

    Start and go slow, learning java is so simple due to it's OOP model.

    Go through the tutorial sites: http://java-demos.blogspot.com
    {{ DiscussionBoard.errors[7257252].message }}
  • Profile picture of the author Dong Lee
    So, withing 4 days you have created an android app ?

    Thats really great
    {{ DiscussionBoard.errors[7257287].message }}
  • Profile picture of the author billtucker820
    4 days is pretty less time for learning a programming language and being able to work with it too .learn from books and practice Distributed Web Development and app development . if the quest of learning is there .there is no doubt one ever fails !!
    {{ DiscussionBoard.errors[10198230].message }}
  • Profile picture of the author blisonickid
    You should have logic and experience to create good application you cannot create professional application in few days learning of java so keep working hard
    {{ DiscussionBoard.errors[10199379].message }}
  • Profile picture of the author ATevan22
    Some good info in this thread, thanks!
    Signature
    "Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning." -Albert Einstein
    My Blog | http://www.cell-phone-list.net
    {{ DiscussionBoard.errors[10203773].message }}
  • Profile picture of the author billtucker820
    So, you understand (more or less) how you would represent your data in XML, and you're interested in using XML to solve many of your data-management problems. Yet you're not sure how to use XML with your Java programs.Direct Distributed Web Development
    TEXTBOX: TEXTBOX_HEAD: Programming XML in Java: Read the whole series!
    {{ DiscussionBoard.errors[10263263].message }}
  • Profile picture of the author brettb
    I'm a C# developer (it's very similar to Java). Java and C# are both very popular with corporations, and if you get good at either you can find a decent career in IT.
    Signature
    {{ DiscussionBoard.errors[10265662].message }}
  • Profile picture of the author Wiliam Haminton
    Effective Java, Second Edition by Joshua Bloch
    Signature

    Start your business with Webinar Webinar Jeo Bonus-
    ||Webinar Jeo Bonus

    {{ DiscussionBoard.errors[10450398].message }}

Trending Topics