Abhijit Sarkar

+ Follow
since Apr 16, 2006
Merit badge: grant badges
For More
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 Abhijit Sarkar

I am getting a strange error while performing load test on my application.
From the logs, it seems at some point DB2 is refusing to give away any more connections to WebSphere.
Would you be kind enough to provide some insight in this issue? Snippets of the log is posted below.

12 years ago
I apologize, the intention was to know - are they equivalent/similar? If not, I understand we cannot compare apples to oranges.
I cannot agree more on knowledge being the power, but come on guys - big names do matter in practical world.

Could anyone compare the industry acceptances of the SCDJWS 5.0 or IBM SOA exams (669 and 667)? I want to take one of the exams and why not take the more widely accepted one?
Please feel free to jump in and comment.

[SCJP 5.0]
[SCBCD 5.0]
I am getting a null EntityManager in Java SE. Following is my META-INF/persistence.xml. Please help.

I am creating EntityManager by the following code:

OK, I have found the solution. The following ant task works for me:
I am using Hibernate ant tools to reverse engineer classes. However, the jdk5 and ejb3 options are not available to me with the exporters. Please advise.

Eclipse 3.4.2 Ganymede
Classpath: build;lib\antlr-2.7.6.jar;lib\asm.jar;lib\c3p0-0.9.1.jar;lib\cglib-2.1.3.jar;lib\commons-collections-3.1.jar;lib\commons-logging.jar;lib\dom4j-1.6.1.jar;lib\ejb3-persistence.jar;lib\freemarker.jar;lib\hibernate-annotations.jar;lib\hibernate-commons-annotations.jar;lib\hibernate-entitymanager.jar;lib\hibernate-tools.jar;lib\hibernate3.jar;lib\hsqldb.jar;lib\javassist-3.9.0.GA.jar;lib\jta-1.1.jar;lib\jtidy-r8-20060801.jar;lib\log4j.jar;lib\servlet-api.jar;lib\slf4j-api-1.5.8.jar;lib\slf4j-jdk14-1.5.8.jar; (and a lot Eclipse jars)

Build script snippet:

Originally posted by kurt hanni:

is it better to read "Enterprise JavaBeans 3.0 - O'Reilly" than "EJB3 In Action"?

I haven't read "EJB3 In Action" end-to-end so won't comment. But the few chapters I went through were very particular and well-explained. I liked that book.
Passed SCBCD 5 with 85% on 15-Sep-08.

Studied about 1.5 months for this. books followed are:
  • Enterprise JavaBeans 3.0 - O'Reilly
  • EJB 3.0 core spec
  • EJB 3.0 persistence spec
  • EJB 3 in Action (Just a few chapters)

  • Also practised using Enthuware's EJB 5 simulator. While this product is wonderful, one shortcoming I found is that the questions are too repeated. I would still recommend it though.

    There were questions on all sections. To mention particularly, Persistence and Security sections were real-brainers.

    All the best to all test-takers.
    [ September 15, 2008: Message edited by: Abhijit Sarkar ]
    Thanks for the reply. My previous 2 posts are still unanswered - I was starting to assume that only handful of lucky guys get response.

    [ August 20, 2008: Message edited by: Abhijit Sarkar ]
    I am preparing for the SCBCD 5 exam. I would like to know which spec to read for this. There is a core spec of 562 pages and a simplified one of 59 pages. Obviously I prefer the simplfied one but is it sufficient?
    Any advice is appreciated. Thanks.
    I was practising using Enthuware's EJB+ v5 suite for SCBCD 5 when the following explanation seemed doubtful to me. Any clarification will be appreciated.
    "security-role: These are the logical roles that are available to the application. Since these are application specific, these are specified by the application assembler in the deployment descriptor. Also, since these are provided by the application assembler, the application assembler also has the responsibility of mapping security-role-ref to the security-role. Further, since the application assembler knows the business logic, she also specifies which bean methods can be called by which role using the <method-permission> tags."

    Is the bold statement correct? Is the assembler expected to know business logic?
    [ August 18, 2008: Message edited by: Abhijit Sarkar ]
    I'm configuring a default EntityListener in my mapping file (snippet given below) but the callback methods in it are not getting invoked.
    The Listener class is instantiated alright which I can see from the log.
    I'm using SJSAS 9.1.

    Pls help.

    Mapping file:


    [ December 11, 2007: Message edited by: Abhijit Sarkar ]
    OP, request you to modify the title of the post. The current title is misleading as it gives out an impression that you have some tips to share.
    I've tried the O'Reilly book but I found it difficult to understand
    "Mastering EJB 3.0" has been a good read; for Persistence alone, I find "Pro EJB 3-Java Persistence API" wonderful.
    You guys must be amazing to complete the O'Reilly book.
    [ November 08, 2007: Message edited by: Abhijit Sarkar ]
    Thanks MZ. I had also mailed you with this specific requirement. I was in the process of creating the pdf from the online guide and believe me, it really tests your patience. But I feel that one was emerging with a better look-n-feel.