Sunday, December 22, 2013

How to generalize the methods in AccessImpl


I dont want to have a huge AccessImpl. Some general features like handling HTTPsessions or social media functions should be put in a separate file. Only more specialized features like, retrieving user profile from facebook, are left in the AccessImpl. For Java, we can only extends from one super class. But I will have more than one super class, HttpSession, SocialMedia... 

Is there any suggestions? design pattern?


No comments:

Post a Comment