This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
In the Mark Cade's worked out Assignment As of now the availability notice is being created with the Steel,Wood and Concrete. What if tomorrow if seller wants to add create the availability notice with few other products like Plastic or something . Then it requires the code change and re-deployment correct. If it requires the code change like this to create the avaibability notice few other products is it a good idea or the Application should be more generric to handle these situation
Also another question in this example if the seller is creating availabilty notice with the 10-Concrete,15-Wood and 20-Steel. I would see the record in the AvailabilityNotice and what would be the columns in the Availability notice table . Are we even going to have the records in the Wood,Steel and Concrete.
If someone can clarify this to me , that would help me alot in my actual assignment.