permaculture playing cards
The moose likes Java in General and the fly likes How to build this application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to build this application" Watch "How to build this application" New topic

How to build this application

sudhakar karnati
Ranch Hand

Joined: May 03, 2007
Posts: 93
Hi All,

I want to duild an application which when installed in one's machine it should run in background and everyday at certain time it should pop up and show a message thats it..

Please help me how do i do that?
please tell me what all technologies i need to know..
About me: I completed SCJP, and almost prepared for SCWCD.

Guys please help me..because this will help me in my appraisal... (My boss is asking me to do something extra other than work)

Moderator: If this is not te right place to post the thread please guide me where to post.

Thanks & Regards,
Sudhakar Karnati
[ May 28, 2008: Message edited by: sudhakar karnati ]
Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

You need to do the following:

  • Write a program that schedules your task at certain intervals. To start with you can use a TimerTask. However, TimerTask does not have the capabilities like a full fledged scheduler as quartz but you can start with it.
  • Run the above program as a windows service (windows machine) or a unix deamon. This is a little tricky and things like Java service wrapper will be of help to you.

  • apigee, a better way to API!
    Vilmantas Baranauskas
    Ranch Hand

    Joined: Dec 20, 2006
    Posts: 89
    You may as well use crontab on unix or scheduler (?) on windows to run your program at a specific time.

    Author of <a href="" target="_blank" rel="nofollow">NewsInjector</a>
    sudhakar karnati
    Ranch Hand

    Joined: May 03, 2007
    Posts: 93
    i thought it would be better to build an application which when installed in only one's machine(my machine) rather than in every machine(team members) the program should send mails to every body at certain time intimating them to do certain task like filling up of time sheet..

    How do i do start developing this?

    ranchers please help me..

    Thanks & Regards,
    Ramesh Ale
    [ May 29, 2008: Message edited by: sudhakar karnati ]
    Joanne Neal

    Joined: Aug 05, 2005
    Posts: 3742
    You've already had two suggestions. For sending mail you can use the JavaMail API.

    I agree. Here's the link:
    subject: How to build this application
    It's not a secret anymore!