Fisher Daniel

Ranch Hand
+ Follow
since Sep 14, 2001
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 Fisher Daniel

Dear all,
Can we create an application exception which extends javax.ejb.CreateException, javax.ejb.RemoveException and java.ejb.FinderException?

Regards,
Daniel
Hi all,
I am reading EJB 3 Core Specification.
I have a question regarding stateful session bean.

In Chapter 4 section 4.4.1 and table 1 regarding Operations Allowed in the Methods of a Stateful Session Bean. In that table we see that Timer methods can be accessed inside business methods, afterBegin callback, and beforeCompletion callback.
However, in the next page, there is a statement like below

"The TimerService interface is unavailable to stateful session beans."

In my mind, Timer methods is only defined in TimerService interface. So at this point, what does "Timer methods" mean?

Regards,
Daniel
Hi Senthil,
Thanks to correct my understanding about Timer Service.

Best regards,
daniel
Let me try to help you.
I think the timer survives container crash or server shutdown because we have registered with timer service for our enterprise bean to EJB container (using either annotation metadata or deployment descriptor).

So, when the container or server starts up again, it will read our configuration and make the timer service available for our enterprise bean.

Hope this helps.
Correct me if I am wrong.

regards,
Daniel
well done

regards,
daniel
Congratulation to you...

Which book is better for preparing this SCBCD 5 exam?

thanks
daniel
Dear all,
Could you please give me some examples of cases that we should use GenerationType.IDENTITY for @GeneratedValue?
What database vendors do support it?

Thanks
daniel
Dear all,
What is the default value for @GeneratedValue if we don't declare is on our entity explicitly?

Thanks,
Daniel
Hi,
I am also preparing for SCBCD 5 and using both books for my sources.
I also read EJB 3 Java Persistence API by apress.

regards,
Daniel
Dear all,
As we know that some vendor of EJB container create a pool for EJB instances, is it possible that our stateless session beans have @Remove methods?

If yes, when is this method invoked? At the time when a container pull the instance back to the pool or when a container remove the instance from the pool?

Correct me if my understanding is wrong.

regards,
Daniel
Hi,
We can have multiple interceptor methods. But if we create those not in the enterprise bean class, we can only have one interceptor method per class.
And then we register those class in our enterprise bean using @Interceptors.

Correct me if I am wrong.

regads,
daniel
Hi All,
I want to learn about Java Persistence API.
Do you know what books about that one are?

Thanks and regards,
Daniel
Hi Barath,
I think that you must compile the Java classes first before you deploy those into Tomcat. You can use Apache Ant to do that task.

Correct me if I am wrong...

Regards,
Daniel
11 years ago
Hi,
I am Daniel an a J2EE developer with 5.5 years experience.
I have Sun Certified Java Programmer and Sun Certified Web Component Developer.
Currently, I am working at one software development company in Indonesia and I looking for jobs related with J2EE in Singapore and Australia.
If you need more detail of my experience, don't hasitate to contact me at jfdaniel77@gmail.com

Best regards,
Daniel
11 years ago
I want to use xml file to configure my log4j and I use log4j 1.3 alpha6.
Could you please to give some code how we use JoranConfigurator?
Or maybe you can give me some sites about tutorial using JoranConfigurator.

thanks a lot
daniel