Servlet vs RESTful

RESTful is more an architecture style than a different technology. In server perspective, it is designed to be entirely stateless and self-contained on a per-request basis (i.e. there are no sessions). In client perspective, it’s more a way of getting information in different formats via URLs with (self-documenting) path parameters instead of request parameters. Surely … Read more

Why use CDI in Java EE

The people that wrote CDI gave you one big object factory; they did the work for you, better than you would. It’s XML configuration or annotation driven, so you don’t have to embed everything in code. Dependency injection engines, like Spring, do a lot more than your factory. It’ll take more than one factory class … Read more

The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

Remove the standard.jar. It’s apparently of old JSTL 1.0 version when the TLD URIs were without the /jsp path. With JSTL 1.2 as available here you don’t need a standard.jar at all. Just the jstl-1.2.jar in /WEB-INF/lib is sufficient. See also: How to install JSTL? The absolute uri: http://java.sun.com/jstl/core cannot be resolved Our JSTL wiki … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)