Hello Guys,
What ever ankit telling is correct,
But i want to know,
(To Ankit) why you are suggesting comma separated values in field??
Isn't it appropriate to use another table which has "Page Name" (or Page Id)
and corrspondign user id?
So it will be very simple to handle and most importantly easy to modify????

To Dipesh,
If your pages are dynamic, i mean you are changing contents of it using some
forms (like Forum and forum notification) then it is easy to do. But if you
are replacing static pages (or dynamic pages) and still you want to notify
user, then i think you should replace your page using specialized (self
developed) servlet form (you have to make one form for uploading your static
file or dynamic files). Or you can make a service which checks you page's
last modified date on regular intervals and based on that you send emails to
all the users.
Please don't hesitate to ask if you have some confusion

Regards,
Nachiket

On Thu, Jan 22, 2009 at 4:00 PM, Ankit Garg <ankit.niit...@gmail.com> wrote:

>
> Well I don't think this should be a big problem. You just need to keep
> track of all the people who have subscribed for a page. And you have
> to do the opposite too i.e. the user must be able to track all the
> pages he has subscribed for. I think you will implement a database for
> keeping the information of a page. In that you just need to add a
> column containing comma separated list of IDs of users who have
> subscribed for the page. Then when any updates are made to the page,
> then you just need to split the comma separated list and find the
> email ids of the corresponding users. I don't what kind of content you
> are going to have on the pages so can't tell what kind of notification
> will be sent to the user. To do the opposite i.e. to find all the
> pages that a user has subscribed for, you need to run a query on the
> comma separated column of the article table where you would match the
> value of the column like this - columnName like %userId% . This will
> find all the pages for which the user has subscribed.
>
> Just tell me if you need further help :) ...
>
> On Jan 21, 12:39 am, Dips <dipesh.agra...@gmail.com> wrote:
> > Hi,
> > I am looking for a web page monitoring web application.An application
> > where a user is able to register himself with his name, email id and
> > stuff. Once he has registered and logged on to the application he
> > should be able to specify the web pages which he want's to monitor.
> >
> > Once he has specified the web pages, he should receive emails
> > automatically whenever there is any update to the web page on the
> > email id he has specified while registration, with the details of
> > what
> > has changed in the site that he has registered.
> >
> > While I am pretty sure of the register and login functionality. I
> > have
> > absolutely no clue as to implement the things that I have mentioned
> > in
> > second paragraph, though I am thinking it to implement in J2EE.
> >
> > If anybody could provide with any clue, hint, logic, source code as
> > to
> > how should I proceed with it, it would be nice.
> >
> > Thanks for your help.
> >
> > Regards,
> > Dipesh
>
> >
>


-- 
Regards,
Nachiket Patel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to