Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to build this application

 
sudhakar karnati
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

  •  
    Vilmantas Baranauskas
    Ranch Hand
    Posts: 89
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    You may as well use crontab on unix or scheduler (?) on windows to run your program at a specific time.
     
    sudhakar karnati
    Ranch Hand
    Posts: 93
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    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
    Rancher
    Posts: 3742
    16
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    You've already had two suggestions. For sending mail you can use the JavaMail API.
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic