This question is more towards Design and Architecture
and I want to know SO Readers think on my scenario.
I have a requirement where in my Application should provide other application interface when the user logs in to my application.
For example, lets say my application is www.gmail.com
and other application is www.stackoverflow.com
so what am trying to accomplish is that when the user log's in gmail account
he should see his home page of stackoverflow
and a particular questions.
From technology point of view, we have to use Java and so am not sure of what design and architecture consideration would go in to implement the requirement.
One Approach, am thinking on is that when the user logs in to gmail
than I will populate the request object with all the login credential parameters for stackoverflow
website and also question_id which would be passed in as parameter and then on Stackoverflow
side, I would parse the request object
and authenticate the user credentials
and depending upon request parameter
, I would render
the question_id
which I received from request
.
I want to know what would be best approach
and issues
encountered in designing such an system.
Edit
After seeing all the answer, I would like to add little update to my question. What I am looking for is to get the feel of issues and challenges what I would have to face while trying to accomplish my task, also I am using Java and am not sure how can I accomplish my goal using Java as we do not have something like OLE
which we have in Microsoft Technology stack to achieve the task.
Hope I am making some sense here.