Results 1 to 4 of 4
Thread: Is JAVA the right language?
- 08-07-2008, 07:45 AM #1
Member
- Join Date
- Aug 2008
- Posts
- 1
- Rep Power
- 0
Is JAVA the right language?
Hello!
I have spent several hours learning the basics of JAVA...my goal is to be able to write a program that will access a certain website & check for certain information...so far, I have only been learning to write simple graphics programs and games...nothing I have found so far in JAVA talks about how to write a program that will access a specific website.
I am new to programming in any language...I need to write a program that accesses a web site (like a hotel website), logs in, and checks for availability during a certain day...and if it finds that date not available, I want the program to keep checking the website several times a day and if/when it finally finds that date to be available I want the program to send me an email to alert me.
Is it possible to write a program in JAVA that will do this?
I just don't want to waste alot of time learning something that can't eventually do what I want...Does anyone know how I can learn the type of JAVA programming I am trying to accomplish without first learning all the simple programs (like graphics programs I am not going to be using)...I am desperate, would be very grateful for any responses....please point me in the right direction! THANK YOU!
PS my computer skills are above average, I do understand the JAVA tutorials I have read, and I have written a few simple programs...I want to learn and I will put in the hours, but I am having trouble finding web-based tutorials that go beyond the simplest programs...is buying a book the only answer? I would like to continue learning online...Thanks again!
- 08-07-2008, 02:12 PM #2
Member
- Join Date
- Aug 2008
- Posts
- 22
- Rep Power
- 0
you need to learn Java 2 Enterprise Edition and also you need to know how the target website retrieves its data from the database (Webservice) for example
otherwise I don't think it will be possible to do what u r looking for with any programming languagevisit http://www.thejavacode.com
Muhammad Safwat
- 08-08-2008, 12:04 AM #3
Member
- Join Date
- Aug 2008
- Posts
- 31
- Rep Power
- 0
You can accomplish this with PHP/MYSQL. First--it's open-source and it's made to cater web applications.
An excellent book is "PHP and MySQL Web Development" by Luke Welling and Laura Thompson.
Carlo
- 08-08-2008, 12:29 AM #4
You can probably do that in java(pretty sure for http, not so sure for https). It would require scanning/parsing the HTML to find the form, creating a response to the action item in the form, reading/parsing the HTML response and continuing until you find what you're looking for. If the responses could vary from day to day, this could involve a lot of code to test for all the possiblities and combinations. Could be tough programming for a beginner...I need to write a program that accesses a web site (like a hotel website), logs in, and checks for availability during a certain day...and if it finds that date not available, I want the program to keep checking the website several times a day and if/when it finally finds that date to be available I want the program to send me an email to alert me.
The sending of email would be the easy part.
Similar Threads
-
convert a java binary/executable to a intermediate language
By sumit_400461 in forum Advanced JavaReplies: 1Last Post: 07-13-2008, 07:04 PM -
IDE for new language
By mitra2008 in forum EclipseReplies: 2Last Post: 06-23-2008, 06:43 PM -
Question about java object oriented Language
By lenny in forum New To JavaReplies: 3Last Post: 07-26-2007, 03:59 PM -
V language 0.004
By JavaBean in forum Java SoftwareReplies: 0Last Post: 07-19-2007, 03:18 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks