New to Java programming

by 27 replies
32
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...
#programming #java #programming
  • 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.
    • [1] reply
    • 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

      • [1] reply
  • 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.
  • Java is good for developing applications, but a bit heavy and not so effective for internet marketing. Better to learn PHP.
    • Banned
      [DELETED]
      • [1] reply
  • I'm new here in this forum and everything i read is really nice.
    I learned a lot here.
  • [DELETED]
  • Banned
    [DELETED]
  • [DELETED]
  • 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.
  • 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
  • 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
  • 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
  • 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!
  • 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.
    • [ 1 ] Thanks
    • [1] reply
  • 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.
  • Banned
    [DELETED]
  • 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.
  • You can use a IDE like NetBeans and create great apps. But I dont recommend this for beginners.
  • 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
  • So, withing 4 days you have created an android app ?

    Thats really great
  • Banned
    [DELETED]
  • 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 !!
  • 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
  • Some good info in this thread, thanks!
  • 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!
    • [1] reply
    • Java scripts are used in developing websites and other applications. Applets are java programs. Events, Alerts, and dialogue boxes need java to run effectively and perfectly. The Java is best language to learn and it has very wide scope too. Be a Java programmer and get specialty in it. The language is quite powerful to develop big business portals and small applications. It is also used for developing Android OS.
      Web sliders, forms, and online transaction apps are based on this language.
  • 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.
  • Effective Java, Second Edition by Joshua Bloch

Next Topics on Trending Feed

  • 32

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