I would like to hear some ideas on building a Java based Dictionary or correct me with my idea.
My idea is to use JSF for UI and Servlet for backend which would be connected to Database. Database would have columns word and its meaning.
User enters the word from UI, it is passed to servlet, the servlet uses this word and runs a query on DB and returns the meaning to JSF.

Let me know if this sounds fine or may be let me know other ideas.