If you use an editor like Eclipse there are auto-completion suggestions
1) would be
Map<String, Object> result = ServiceUtil.returnSuccess();
2) would be
Map<String, Object> bodyParameters = (Map<String, Object>)
serviceContext.remove("bodyParameters");
A bit verbose, but this how things are going in Java, clearly its more secure. It's like when you are checking in on a plane :
longer but, normally, safer...
Jacques
From: "BJ Freeman" <[EMAIL PROTECTED]>
I see this
- Map result = ServiceUtil.returnSuccess();
+ Map<String, Object> result = ServiceUtil.returnSuccess();
and I see this
+ Map bodyParameters = (Map) serviceContext.remove("bodyParameters");
for the left side which is the best practice?