Visualize EJB in JSF / J2EE
Hi, I want to visualize the content of an EJB in JSF. My sample EJB is an entity class of a database table. As long as the data in the table is the data I want to present everything seems no problem, but what if this is different. For example I have a table 'address'. Lets suppose that the column of the country is a numeric code ( 1 for germany, 2 for spain and so on ). Now I want, that the web page does not show the numeric code but the text value. In an tomcat servlet application I would create a database-view , fetch a resultset from that view in a servlet an iterate through the columns and pack the into some html elements. How can this be done in an J2EE applikation via JSF? Where do I access my database? Via JSF and the controllers ? Or do I have to map my view to an own class?
Regards
Volker Jordan

