• Post Reply Bookmark Topic Watch Topic
  • New Topic

always java beans in command pattern to business delegate  RSS feed

Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well i am developing shopping cart applcation.I want to know that say if i want to diplay items on the page Item.jsp.After logging the client goes to the items.jsp.I apply mvc in contoller i call command object and in which there is execute method in that execute method i call businness method(say ejb and other pattern i apply thier what ever they are so).Via that business method i got all items list.Should i always populate those items with javabeans that i have got from any business method and use this bean in the item.jsp.Also in these type of displaying scenarios should i always use java bean.If so isn't a drawback of populating may items say 100 consuming memory.What strategy should i apply.What thiniking should i develop not to use javabean over here and over there not.Will be vey thanks full.
Jawwad Ahmed
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!