Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: How to write a simple automated reservation JAVA application

  1. #1
    Junior Member
    Join Date
    Nov 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to write a simple automated reservation JAVA application

    Since the first launch of the new iPhone 4S, online reservation through the Apple Store app on iDevice has been the most effective way to order this limited product. However, some speculators has hired powerful programmers to write a automated reservation program in JAVA, which will dominate almost all available inventory due to its extremely high reservation speed. Simply say, reservation by hand input always fail because of being too slow.

    I have got programming background but a little bit basic knowledge in server and database. I would like to write a simple JAVA program to detect if the store is open, then make a reservation booking with previously entered fields.

    What would be the simplest way to achieve the goal? Could any please provide a guildline on how to do?


  2. #2
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: How to write a simple automated reservation JAVA application

    Welcome thekongss to Java Programming Forums. It varies what and how do you want to do this. It also varies how do you want to detect whether a store is open or not, either by parsing the web page or by communicating to their provided service. And as far as reservation is concerned, we don't know the criteria of booking by your discussion.

  3. #3
    Junior Member
    Join Date
    Nov 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to write a simple automated reservation JAVA application

    First of all thanks for your reply on my question. Programming is the hardest thing in this world unless you have a good teacher.

    Since you raised some questions that I don't even know the answer, such as what's the criteria by booking. I may try get a general idea on the following :

    1) When the iPhone app is launched it is connected to Apple's server. And my purpose is to detect the change of status of the reservation server. How could I know what type of server is Apple using? My java application should start with hooking to a destinated IP address and listening to a specific port and detect the change of status ? if then how is it possible to get these information?

    2) When the store is open, then a user is given a form for entry. First click into a specific model of iPhone 4S to order, then select a time-slot to pick up, then select the quantity, after that have to enter a account password and the passport number. I suppose all these entries in the form can be pre-coded into the program and then be submitted at once, so the reservation can be done very fast. The problem is how could I know the data format that the server is able to accept?

    Quote Originally Posted by Mr.777 View Post
    Welcome thekongss to Java Programming Forums. It varies what and how do you want to do this. It also varies how do you want to detect whether a store is open or not, either by parsing the web page or by communicating to their provided service. And as far as reservation is concerned, we don't know the criteria of booking by your discussion.

  4. #4
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: How to write a simple automated reservation JAVA application

    First of all thanks for your reply on my question. Programming is the hardest thing in this world unless you have a good teacher.
    It's pointless to blame your teacher or anyone else. Programming is just an art which can never be taught, so better try to learn on your own. There are bunch of resources from where you can learn programming, internet, books, forums etc.

    1) When the iPhone app is launched it is connected to Apple's server. And my purpose is to detect the change of status of the reservation server. How could I know what type of server is Apple using? My java application should start with hooking to a destinated IP address and listening to a specific port and detect the change of status ? if then how is it possible to get these information?
    You must go through Java Networking tutorials in order to accomplish this task.
    2) When the store is open, then a user is given a form for entry. First click into a specific model of iPhone 4S to order, then select a time-slot to pick up, then select the quantity, after that have to enter a account password and the passport number. I suppose all these entries in the form can be pre-coded into the program and then be submitted at once, so the reservation can be done very fast. The problem is how could I know the data format that the server is able to accept?
    Are you going to develop this for your own or for someone else? If for someone else, ask him all the details and if you want to develop it for your own purpose, again think about it carefully and i will recommend you to work for Functional Specification, Requirement Specification, Design, algorithms and documentation part, to achieve the best quality results. Again, you need to go through Java Networking tutorials to achieve this.


    Hope this helps.
    Good Luck

Similar Threads

  1. Replies: 1
    Last Post: November 11th, 2011, 06:46 PM
  2. Replies: 2
    Last Post: March 23rd, 2011, 08:51 AM
  3. Java Assignment 2011 - reservation
    By bs09it in forum Member Introductions
    Replies: 2
    Last Post: March 1st, 2011, 07:25 PM
  4. [SOLVED] How to write to an application
    By straw in forum Java Theory & Questions
    Replies: 4
    Last Post: June 19th, 2010, 10:17 AM
  5. Someone please help me write a simple program!!!
    By ocean123 in forum Loops & Control Statements
    Replies: 3
    Last Post: June 14th, 2009, 09:46 PM