http://example.com/app/sillyServletName/someStuff?sillyParam=22&sillyOtherParam=profile
And not enough like this?
http://example.com/app/profile/22
Are you building a new application, and don’t want to sacrifice anything when it comes to usability or SEO capabilities? Well, URL-rewriting is your answer, and it’s easy to get started, even easier using JBoss Forge. PrettyFaces is an OpenSource Filter-based Servlets extension with enhanced support for JavaServer Faces – JSF 1.1, 1.2 and 2.0 – enabling creation of bookmark-able, pretty URLs. PrettyFaces solves the “RESTful URL” problem elegantly, including features such as: page-load actions, seamless integration with faces navigation, dynamic view-id assignment, managed parameter parsing, and configuration-free compatibility with other web frameworks.
So Java EE 6 is out, and you’ve decided to give it a go. You’re trying to port an existing application over to the new stack (or are trying to create a new one for the first time,) but exceptions are bursting through the seams and you just can’t seem to get things to work. If you’re familiar with Spring and Hibernate (with all the joy that is OpenSessionInView or OpenSessionInConversation
,) more than likely the problems you’re having are related to the Java Persistence API (JPA
), combined with Enterprise Java Beans (EJB
). Contexts and Dependency Injection (CDI
) should be a familiar face if coming from Spring, but things are subtly different in the world of Java EE.
“The problem is not the system, its the way someone can get in. To be honest, most tutorials, how-tos, and documentation sucks, because they ALL are written like the reader already knows the trick. No doc about [Technology] is written for newbies.”
Welcome graphic artists! The [[PrettyFaces]] project needs a logo, and to facilitate this, we’re hosting a logo contest! Prizes: We know that your time is valuable, but because this is a completely open-source and unfunded project, we can’t offer a cash reward; however, will receive a T-shirt with your logo on it, a blog entry announcing you as the winner, a prominent spot (with link) on our [[Contributors / Get Involved|contributors]] page, a spot (with link) on the home-page as a FAQ entry, and the satisfaction of knowing that you helped an open-source project! |