Renata fonseca

Ranch Hand
+ Follow
since Mar 15, 2002
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Renata fonseca

1 - Is it possible to map an Entity Bean to a view instant of a table?
2 - Is it possible to map an Entity bean to multiple tables?
what is rmic? RMI Compiler? Do I have to take care about it when deploying EJB Application?
I've noticed that WSAD generates the STUBs and SKELETONs...
Maybe WSAD put some otimization inside these classes.
I have a Component Interface, a bean class and a home interface for Session Bean.
I read that it's necessary to generate stub and skeleton. How can I generate these? The EJB Container automatically generates these for me?
Hi all
I have to update 2 databases at same time... how can I persist an entity bean into two different databases (ie: Db2 and SQL Server)?
How does the Transaction should be implemented in a project that don�t use EJB?
Is the DAO's responsability to manage the transaction?
Is the DAO methods caller (a "session bean like") responsability?
I'd like to understand the actual meaning of "Model" of MVC.
I know that it encapsulates the Business Logic, but what is exactly "Business Logic"?
- Some authors say that it encapsulates the data...
- Other people say that encapsulate code to interact with a database...
- Others say that encapsulates data and functions...

What is the true?
I�d like to know the difference between:
Are there any difference?
is using synchronized block code with Class.forName() slow? Are there some other (and good) way to synchronize a code block where 2 or more different objects can enter in that block code?
void writeToFile(){
// code that open some file and write
the writeToFile() method can't be access for any other object create by a servlet. (just an example).
Thanks for the reply but I don't believe that page is like "this object". The page scope uses "pageContext"!!!

Objects in the page scope are accessible only in the translation unit in which they are
defined. They do not exist outside the processing of a single request within a single
translation unit. These objects are maintained as attribute-value pairs by an instance
of a concrete subclass of the abstract class PageContext. In a JSP page, this instance
is available in the form of the implicit object pageContext.

Thanks.. but I'm still confused...
1- I'd like to know when I have to use "page" instead of "request".
2 - By the way... Is "page" an instance of pageContext or this?
3 - If I use page.setAttribute("xx",...), can I retrieve the attribute from another page, in the same request by using page.getAttribute("xx")?
[ February 21, 2003: Message edited by: Renata fonseca ]
pageContext, request and page are implicit objects... I can use these objects to share objects between pages, but when it's a good idea to use pageContext, request or page? What's the difference?
what's the default of http session timeout? Is it container dependent?