Jim Sera

Greenhorn
+ Follow
since Jul 28, 2005
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 Jim Sera

New to JBoss and I'm trying to deploy a test MDB and get this error:

12:24:10,504 INFO [EARDeployer] Init J2EE application: file:/H:/jboss/server/default/deploy/JMSTest.ear
12:25:11,663 WARN [verifier] EJB spec violation: JMSATestMDB: The ejbCreate() method must define no application exceptions.
12:25:11,673 ERROR [MainDeployer] could not create deployment: file:/H:/jboss/server/default/tmp/deploy/tmp21204JMSTest.ear-contents/JMSTestPkg-EJB.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)

I entirely removed the ejbCreate() method (which was not throwing exceptions in the first place) and it still gives this problem. I also tried turning the spec verifier off in ejb-deployer.xml and it did not make any difference which is bizzare.

Anyone have any ideas what is going on?
I don't have a lot of experience using Transactions but would like to learn more about the subject. I understand the ACID properties of transactions and the usefulness of demarcating blocks of code. What I really don't understand is the rollback facility which is the key benefit of using a transactional system.

Since transactions should be durable I am assuming the container will rollback the transaction if there is a server failure or similar situation that prevents the transaction from being committed. Right? The question is, how does the server know what resources and systems were affected and how to revert state? What if some actions are not possible to be rolled back?
thanks. Yeah, I put the figures in the cost of living calculator at salary.com and it said it's 30% cheaper to live there and payscales are about 10% lower...LOL!
18 years ago
90k is a bit low for a Sr. J2EE developer..no?
18 years ago
I may be interested in moving from SoCal to Atlanta. How is the job market for J2EE? My main reason for the move would be low wages relative to the exhorbitant cost of living here.
18 years ago
Actually I think all this sounds great on paper, but in real life there are a huge number of issues. We had two projects offshored to India and China last year and both projects were a failure. The quality of work was poor, requirements were not followed properly, product support was just not there and cost savings were much less than expected.

Management quickly realized that it is just not worth it to offshore and moved all development back and now has no plans to offshore any more projects.

We are a smaller company, I'm thinking offshoring is only practical for huge companies like IBM and Microsoft not for smaller companies.
18 years ago
What is the market rate for a Sr. Java Developer in Southern California area? Salary.com says 103k is median? Is that true?
18 years ago
I don't mean to offend anyone but I am just so curious as to why 95% of this board has programmers of Indian origin? I'm American and about 80% of our workforce in IT is also Indian.

Is nobody studying Computer Science in American universities these days? How come I don't see very many American Software Developers?
18 years ago
I have seen references to this term but I can't seem to understand what it actually means. Can someone in very simple terms explain what this is? Also, is the term "dependency injection" the same thing? What exactly do they mean by dependency injection? What is the use of performing such an operation?

I guess I'm reading all these things about the Spring framework but can't really figure out why it is so useful and what it really accomplishes over the traditional approach. Thanks much
thanks very much Earnest
18 years ago
I have this code sample:


This code prints a, c and b as the output. I understand most of it but someone please explain to me how the b is output. How is the code s1 = sM1("b"); executed and why is it executed last?

My initial impression was that it will be a compiler error because there is a semi-colon after the static String s1 = sM1("a"); statement and the code between the following { } is not part of the static initialzation. can someone explain please.

[ EJFH: Added CODE tags. ]
[ July 29, 2005: Message edited by: Ernest Friedman-Hill ]
18 years ago