Konda Balabbigari

Ranch Hand
+ Follow
since Jan 02, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Konda Balabbigari

Hi Chetan
I am sorry, i was out today
This question is from IBM exam no. 488. from http://certify.torolab.ibm.com
Thanks
Konda..
While testing CMP entity bean , a developer discovers that a change to one of the bean's properties is not reflected in the database that contains the bean data. What are possible causes? Select four answers?
a) The ejbStore() method has a bug
b) The ejbCreate() method has a bug
c) The ejbLoad() method has a bug
d) The setter for the property has a bug
e) The mapping of container managed fields to database fields has a bug
f) The deployment descriptor has a bug

Today i took the test, i found the answers are
a, c, d, e.
Can some comment on this why ejbStore() correct answer instead on ejbCreate() method
Thanks
Konda.
Friends
Here is a small EJB transactions arcticle, which might help you while preparing for EJB exams.
http://www.javacaps.com/ejb/ejb_transactions.html
Thanks, good luck
Konda..
Hi ruilin
I think in the ejbStore() method we do not need to write any code. Calling ejbStore() method is automatically called by the Container. In this situation the answer a) is wrong.
No clue what are correct choices.
Thanks
Konda..
While testing CMP entity bean , a developer discovers that a change to one of the bean's properties is not reflected in the database that contains the bean data. What are possible causes? Select four answers?
a) The ejbStore() method has a bug
b) The ejbCreate() method has a bug
c) The ejbLoad() method has a bug
d) The setter for the property has a bug
e) The mapping of container managed fields to database fields has a bug
f) The deployment descriptor has a bug

My ansers are:
b, d, e, f
Please comment on this
Konda..

herve
Which is true, even i thought the same thing. But in the page number 213 of Richard Monson in the topic "Transitioning from the Pooled state to the Ready State via creation" it states that first EJB object must be created and then bean instance is taken from the instance pool and assigned it to EJB object. Next the ejbCreate() method is executed.
Is this same thing or different for my question.
Thanks herve
Konda...
Friends
When the EJBObject is created and bean is assigned to an EJBObject in the Entity bean life cycle.
Ex:
before ejbCreate() method starts executing
OR
after ejbCreate method complete
Thanks Kyle,
I can use DataSource object in WAS, but the application i was working is an independent application servers where we do not want use DataSource object from any Vendor.
I had DBConnectionBroker from javaexchange.com and is working fine without any problem. I thought if i have the source for the product i will just browse through the source code.
I send an email to them they did not reply yet.
Thanks again Kyle.
Friends
We are having a problem in WebSphere App.Server 3.5 if you enable the globla security.
Before enabling security WAS was working properly and i can start and stop. Once security is enabled i cannot start WAS, it complains "Service level error 10", any info or help is realy appreciated.
Thanks
Konda..
22 years ago
Hi Friends
Did any one has DbConnectionBroker source code. If it is please send it to me, it realy helps us. My contact email is konda@javacaps.com .
Thanks
Konda..
Folks
Please can any guide me to the correct answers for thse questions from IBM EJB Certifcation exam?
1) Which of the following is true concerning CMP Entity Bean activation and passivation?
a) Storage of persistent state to the database is handled automatically by the EJB container during passivation.
b) A client must explicitly activate a bean that has been passivated.
c) Clients do not directly communicate with a bean and are unaware of activation and passivation?
2) A stateful Session bean is passivated by its container. Assuming all fields are non-transient , which of the following values will still exist following passivation, select 4 answers?
a) null
b) A JDBC Connection
c) An Entity bean
d) A SessionContext
e) A UserTransacation

Thanks
Konda..
This might help you
http://www.javaranch.com/ubb/Forum46/HTML/000455.html
Thanks
Konda Balabbigari
22 years ago
Hi Jorge
1. Your current working project. ex: DemoEjb
2. IBM EJB Tools
3. IBM Enterprise Extension Libraries
4. IBM WebSphere Test Environment
Here is my client program:
package ejb.demo;
import java.util.*;
import javax.ejb.*;
import java.rmi.*;
import javax.naming.*;

public class Test {
public static void main(String args[]) {

try {
Properties props = new Properties();
props.put(Context.PROVIDER_URL,"iiop://mac23:900");
props.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.ejs.ns.jndi.CNInitialContextFactory");
Context ctx = new InitialContext(props);
DemoHome home = (DemoHome) ctx.lookup("ejb/demo/Demo");
Demo demo = home.create();
System.out.println(demo.hello());
demo.remove();
} catch (Exception e) {
e.printStackTrace();
}

}

}
Thanks
Konda Balabbigari
Author: www.javacaps.com
Sun Certified Programmer
IBM WebSphere Certified
[This message has been edited by Konda Balabbigari (edited September 05, 2001).]
[This message has been edited by Konda Balabbigari (edited September 05, 2001).]
22 years ago
Hi Jorge
Make sure you put all the required classes/packages in the project class path.
Thanks
Konda Balabbigari
22 years ago
Hi Rahul
I know i am in WebSphere forum, but what is this post..

*****************************
Matt,
Could you please transfer this post to the WebSphere forum.
********************************************************
Thanks
Konda
23 years ago