Zico Gupta

Greenhorn
+ Follow
since Apr 27, 2011
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 Zico Gupta

Hello Lasse,
I consider myself one of the lucky person having received one on one training from you in junit.

Coming to the new book, does it cover unit testing code which is written to run a multi threaded environment? Also please recommend some mocking tool.

Best Regards,
Zico
6 years ago
Hello Javier,
Is it possible to unit test some synchronized method/block of synchronized code to ensure that the method/code itself is synchronized? What would be the assertion statement? Also, is there any guaranty that this particular test will pass in different jvm and java version?

Thanks & Regards,
Zico
Thanks Dave for this useful explanation. From the perspective of Indian IT industries, the point "How will the developers perceive the decision? Is this a direction that will inspire them? Will they want to own and implement it?" is really surprising for me that an proper architect also consult with developers in such extent. Generally, most of them here are manager turned architect and they focus on getting things done 'somehow' by developers without consulting with them in order to earn higher management/client's praise. Most of the time it ends with a highly complex/ tough to maintain features.
7 years ago
Hello Dave,
Could you please provide your view on this?
7 years ago
Hello,
In order to stick with his own decision, what should be the approach of an architect so that everyone agrees with his decision without showing much resistance? Is it required to be of dominating nature to some extent?

Also, since there is a chance to become a victim of politics when going against management (mostly in negotiating some technical decision with management,most of them are very unlikely to have strong technical background). How to overcome this problem?

Thanks,
Zico

7 years ago
Hello,
In a clustered environment, NullPointer Exception is getting thrown whenever a specific ejb look up happens. This problem disappears after websphere restart. Following is the stack trace :

javax.naming.NamingException: Error during resolve [Root exception is java.lang.NullPointerException]
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1980)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1883)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1566)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1363)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:172)
at javax.naming.InitialContext.lookup(InitialContext.java:363)
.....

The websphere version is 6.1 and ejb is 2.1. This problem is happening only when the system tries to invoke the bean for the first time after installation. Could any one please help to find out the problem?

In the ibm-ejb-jar-ext.xmi, a flag startEJBAtApplicationStart is used and set to true. Is that causing this NPE?


Thanks & Regards,
Zico
7 years ago
Hello Anton,
I'm involved in developing back end application using J2EE. The developement work is done on windows machine and run on Websphere Application server installed in a different machine which runs on linux.

Whenever a class is modified, I need to upgrade the corresponding jar file with the changed class, copy the same to the specific ear and then either restart the websphere or the ear from IBM administrative console. My question is, whether using Jrebel allow me to eliminate some of these activities?

Thanks & Regards,
Zico
Hello Gojko,
The problem is the product owner himself is not well versed with the complete product, on the other hand, management is not ready to expose team members directly to the customers. We only get a chance to interact directly when a bug arrives.

Also, if you please answer my first question, it'll be really helpful.

Thanks & Regards,
Debayan
Hello Gojko,
I'm a big fan of you and it's a privilege for me to ask something directly to you.

I'm acting as Scrum Master in a team of 7 and I am finding it difficult to induce specification by example in developer's mind. Since all scenarios are not available before development begins, sometimes it results in more number of bugs after the user story is done and released.

From the management side, we are not directly exposed to interact with the customer and have to look forward to Product Owner or architect to know about requirements and sometime some information is lost in this flow. Also, we have to create our own data for testing most of the time.


Could you please suggest some solution for the above mentioned problems?

Thanks & Regards,
Debayan
Hello,
I'm trying to read some lines from a file from the begging and delete those lines after reading them so that next time I don't have to read those which already being read.
The problem is, till now I able to remove the last lines(s) using following code :



This code reads the first line i.e. omes1.xml, but deletes 'omes3.xml' from the end. Is there any solution which will remove only 'omes1.xml' after reading?

Thanks & Regards,
Zico
8 years ago