I have a simple web app that I've been developing to get practice working with J2EE.  It is an app to manage product license keys.  The beans I have are as follows:
 
LicenseKey:  properties=keyValue (String)
Vendor:  properties=name (String)
Product properties=title (String), version (String)
 
These beans all have CMRs setup as well.  The relations are as follows:
 
Vendor (1) -> Product (Many)
Product (1) -> LicenseKey (Many)
 
I would like to create a finder method that allows me to locate a Product based on the LicenseKey entered.  Can someone give me an example of how this might be accomplished?  I've poked around on Google for EJB-QL examples, but can't seem to find something that fits.  I'd appreciate any help you could give.  Thanks!
 
Steve Nakhla
 


Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Reply via email to