Sang:
I was able to get Homework15 to provide the sum of the numbers but I
have a question.
When we build the EJB Method and want to use int as in the exercices
that option did not appear.
I ceated Integers for mine and that seems to work
I used the Integer.parseInt method
Like this:
public Integer addNumbers(Object x, Object y) {
String s = x.toString();
String t = y.toString();
Integer sum = Integer.parseInt(s) + Integer.parseInt(t);
return sum;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---