Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2008, 09:45 AM
Member
 
Join Date: Aug 2008
Posts: 1
EDENO is on a distinguished road
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!
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-07-2008, 04:12 PM
Member
 
Join Date: Aug 2008
Posts: 22
mtv134 is on a distinguished road
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 language
__________________
visit
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Muhammad Safwat
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 08-08-2008, 02:04 AM
Member
 
Join Date: Aug 2008
Posts: 22
carlodelmundo is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 08-08-2008, 02:29 AM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,223
Norm is on a distinguished road
Quote:
..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.
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.
The sending of email would be the easy part.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert a java binary/executable to a intermediate language sumit_400461 Advanced Java 1 07-13-2008 09:04 PM
IDE for new language mitra2008 Eclipse 2 06-23-2008 08:43 PM
Question about java object oriented Language lenny New To Java 3 07-26-2007 05:59 PM
V language 0.004 JavaBean Java Announcements 0 07-19-2007 05:18 PM


All times are GMT +3. The time now is 02:41 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org