Relative Content

Tag Archive for java-ee

Why JSP over Servlets for view?

Although servlets does the task of sending the HTML code to the client programmers weight JSP over servlets for that. Even a JSP code is compiled into servlet before giving the response to the browser then why is JSP preferred? If servlet is used then a lot of computation work can be saved.

Relationship DAO, Servlet, JSP and POJO

I want to implement a JSP, POJO, DAO and Servlet in my J2EE program. However, I don’t fully understand how the relationship between these elements should be. Is the following (MVC) setup the right way to do it?

How can I test database access methods in Java? [closed]

It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago. I want to write a test for a […]

What should be stored in UserContext?

From my general understanding I believe UserContext for a web application is supposed to hold user authentication and authorization (user roles) information.

What is meant by 4 GL?

I came across the term 4GL(generation language) in reading about Oracle ADF Busniess components . I want to know what exactly is 4GL ?

What factors should I consider when logging a (JSF) web-app?

I’ve recently read the article The Problem with logging and was wondering about my current logging strategy.
Usualy I use Log4J in my projects and just have to decide which line/attributes I would like to log.
This strategy worked well for me in the past for all my projects without user-interaction.