Archive for the 'Java' Category
Rails, Grails, Trails
Friday, May 18th, 2007I know RoR, hear about Grails and now I’ve found Trails (it combines Maven, Spring, Hibernate, Tapestry). Is it worth looking at? http://www.trailsframework.org/
Guice tips
Friday, March 30th, 2007Needs evaluation
Wednesday, March 14th, 2007PS. I’ve been reading recently that “Guice + Stripes = no XML hell”. I do not think there is XML hell at all in webdevelopment (”if you know what you’re doing, you win anyway”), but making a new approach can be just fun ![]()
Eclipse Plugins
Monday, March 12th, 2007JMeter and Webservices
Friday, March 9th, 2007Here is a useful patch for handling DIME responses for v2_2 tag. Remember to put javax.activation and javax.mail jars in lib directory.
Index: WebServiceSampler.java
===================================================================
--- WebServiceSampler.java (revision 516411)
+++ WebServiceSampler.java (working copy)
@@ -517,6 +517,11 @@
result.setSuccessful(true);
result.setResponseCodeOK();
result.setResponseHeaders(this.convertSoapHeaders(st.getHeaders()));
+ } else if ("application/dime".equals(st.getResponseSOAPContext().getContentType())) {
+ result.setSuccessful(true);
+ result.setResponseCodeOK();
+ result.setResponseData("DIME message".getBytes());
+ result.setResponseHeaders(this.convertSoapHeaders(st.getHeaders()));
} else {
result.sampleEnd();
result.setSuccessful(false);