Posts Tagged 'MVC'

Why you should prefer JSF over Spring-MVC?

Although, I’m a fan of the Spring Framework it’s not in any case the best you can get. Meanwhile, there’s a lot of stuff in it. But, limited resources and parallel developments in the community, to improve certain aspects of the Java/JEE platform, led to parts in Spring that should be skipped or further developed before used.

One of these aspects in Spring is Spring-MVC. From the historical point of view it helps to get rid of cumbersome JSP coding, like ...

More
0

Nightmares on JSF Street in Trinidad

JavaServer Faces (JSF) is the upcoming standard for the presentation layer of enterprise architectures. It’s going to replace the good old Struts. Struts, being the first widely accepted MVC 2 framework, to separate presentation from business logic, JSF now adds a real component model, event handling, validation and more to it. JSF can be compared to GUI development, although it doesn’t result in a single standalone client-side application, but in a bunch of code for the app ...

More
0

The Observer Pattern in Mixed Dependency Injection Contexts (Spring, JSF)

One of the most well-known patterns is the Observer pattern, well described in the Gang of Four (GoF) book. It allows to separate the application logic from the view(s) (if you have the focus on MVC implementations) or simply implements a notification mechanism that allows to update objects if others change their state (publisher – subscriber implementations).

Basically, the Observer pattern describes object dependencies. So, it’s a good idea to use an environment that allows to implement it with ...

More
0