Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Some Guidance for a Beginner

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All
My name is Iulian. Im a college student  at Computer Science in my coutry (Romania)
Im starting to learn Java (esspecially for Java Certification) i have no prior experience in this work field. In this time for learning java i want to develop a management vending software.
What kind of frameworks / technology i must learn and apply  for this kind of software? and i want to use java and android.
thank you in advance
 
Saloon Keeper
Posts: 7393
66
Eclipse IDE Firefox Browser MySQL Database VI Editor Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know how far you've progressed, so I'll presume that you are at the beginning of your quest. It sounds like the project you have in mind has three basic layers:
  • Business logic
  • Persistence (database or file)
  • User interface

  • All three of these can get rather involved so I suggest starting by concentrating on one layer at a time. Obviously, you can't have an app without a business layer so that's probably the best place to start. For the Persistence layer use simple flat files to begin with, you can substitute a database or other Android oriented approach later. Similarly with the User Interface, use a very simple text based interface on a non-Android platform, you can swap that out later. Get your Business layer to compile and debugged using this frame work, then consider the steps necessary to move to Android. This approach would also nudge you towards a better object oriented design because you are more likely to keep the code for the layers independent.

    These are my thought on your topic, but if you already have Android experience this approach may not be necessary.
     
    Ranch Hand
    Posts: 53
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Gorgan Iulian wrote:Hello All
    My name is Iulian. Im a college student  at Computer Science in my coutry (Romania)
    Im starting to learn Java (esspecially for Java Certification) i have no prior experience in this work field. In this time for learning java i want to develop a management vending software.
    What kind of frameworks / technology i must learn and apply  for this kind of software? and i want to use java and android.
    thank you in advance



    Is this something you have to do for your java class in college or is this something you want to do in your spare time to learn and familiarize yourself with java?

    If you're first trying to start java on your own you should consider downloading an IDE or text/code editor in order to create the program you intend on building. As a beginner you should consider using a text editor first and then proceeding to using an IDE as it is an easier way of starting java, or you can start with an IDE which might look more complicated to manage at first yet will benefit you in the long run as you won't have to worry with using an IDE anymore. You should start with a simple program first and proceed to a more difficult one, I recommend you use w3schools to learn the basics of java.
     
    Gorgan Iulian
    Greenhorn
    Posts: 2
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    this kinda a software.. is not for my java class .. is request from a friend ( who has coffee vending business) and challange for me. I know very little of java. i know some c++ some assembly.
    This software must track when an operator supply a vending machine with kind beverage was consumed. how many drinks are consumed.
    How i can manage  all this data . thats why i ask.. what kinda technoly i must use. in java..
    Hope to some answer me...
     
    Carey Brown
    Saloon Keeper
    Posts: 7393
    66
    Eclipse IDE Firefox Browser MySQL Database VI Editor Java Windows
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Java is an object oriented language so it would be best to come up with an object oriented design. Review what inputs you have available and what kinds of outputs you'll need. As you build up your requirements, look for nouns, those tend to become objects. Example "VendingMachine", "Beverage". Look for verbs, those tend to become methods. Examples Beverage.consume(). Keep an eye out for is-a and has-a relationships. A "VendingMachine" has-some "Beverages". Inheritance isn't used so much anymore but you might have something like a "Latte" is-a "Beverage".

    When you've come up with your set of initial requirements, post it back here.
     
    When you have exhausted all possibilities, remember this: you haven't - Edison. Tiny ad:
    Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    reply
      Bookmark Topic Watch Topic
    • New Topic