If you’ve come across Seam’s <s:convertEntity> and wondered why isn’t one there for JSF, here you go: Before using this, you should’ve designed your domain model to extend a Base Class (do it, it’s a good practice). In my case, I have BaseIdentityEntity which has an @Id, @Version properties import java.io.Serializable; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; [...]
Pages
Categories
- Ajax (4)
- Con-(in)sulting (6)
- Core Java (39)
- Database (8)
- Django (3)
- Drools (1)
- Emacs (1)
- General (22)
- Grails (6)
- Groovy (12)
- Hibernate/JPA (19)
- Javascript (8)
- JEE5 (1)
- JEE6 (5)
- JSF (3)
- Linux (29)
- Maven/Ivy (8)
- Performance (3)
- Python (4)
- Rants (17)
- Seam (5)
- Security (6)
- Servers (4)
- Spring (28)
- Tools (33)
- UnitTest (13)
- Useful Links (9)
- Web (10)
- Web Services (1)
- Xml (2)
-
Recent Posts
- Switch User, ‘su’ like behavior in Spring Security
- My Latest Emacs Config
- Spring MVC 3.1 with Twitter Bootstrap 2.1 Showcase
- Java Logging best practices using slf4j and logback
- Integrating ActiveDirectory on Windows NTLM using Spring Security and custom authorization to simulate a single-sign-on web application
- Generating XML Schema and Classes using JaxB and Maven pom
- Add session user info to log4j logging (custom file appender)
- Command Line Dictionary Using Groovy WS
Archive
Tags
Most Viewed
- Mock Unit Testing Services and Daos with Mockito a... - 16,257 views
- Understanding org.hibernate.TransientObjectExcepti... - 13,189 views
- Integrating ActiveDirectory on Windows NTLM using ... - 4,636 views
- Mapping a clob type in hibernate and oracle 9i/10g - 4,498 views
- Generating XML Schema and Classes using JaxB and M... - 4,125 views
- Spring Security 3 Unit Testing Example with DbUnit - 4,070 views
- Example code, sending emails using Spring SimpleMa... - 3,814 views
- Spring MVC 3.1 with Twitter Bootstrap 2.1 Showcase - 3,661 views
- Automated Unit Testing with DBUnit, Hsqldb in Spri... - 3,143 views
- Compare Sitemesh Vs Tiles, an overview - 3,092 views
Meta