spring-cloud-contrac with spring-jms - spring-cloud

Are there any examples on how to integrate spring-cloud-contract with plain spring-jms lib? In my project, unfortunately, I cannot use spring-cloud-stream and I am stuck with plain JMS (JMSListener, JMSTemplate). Are those two project can be used together in testing?
Thanks for help!

Related

How to implement scala logging for a scala project?

I am creating a command based application, and need to setup logging for the project. Previously, I have only used the logging provided by Play framework and the configurations were already set. But since I need to setup logging for this project, how do we do so?
I decided to use Scala Logging 2.1.2, but checking on the github page there isn't any tutorial explaining how to set it up.
So, can you provide me with links to tutorials or examples, which explains the process of setting up logging for a scala project. Thank you, any help is appreciated.
Just stick to the JVM "standard": http://www.slf4j.org/
You can use whichever implementation you prefer, either logback or log4j.
By the way, this is what Play uses under the hood, so you should be able to re-use most of what you learnt on your previous project.

Sample: Calendar for Play2.0- scala

I need to add a calendar to my website for managing events and I found this sample but it's only for Java. I tried to make a scala version of it but I get stuck at some points.
So I was wondering if there is something similar to it but for scala version.
Thanks a lot!
As #pedrofurla already said, just use it from scala. It's one of the scala's pros -- you can seamlessly use java code.

A sample gwt project using requestFactory, activites and places

Links to any sample gwt project using requestFactory, activites and places?
Thank you.
I found this post from David Chandler very helpful. It discusses a sample project (source code here) using Request Factory, Objectify and Activities and Places.
The project is also discussed in this Google I/O talk. The difference from the original project is that in the talk they use GWTP for the MVP part. You should check out GWTP also as it really simplifies developing with MVP.
My experience with the roo plugin for GWT and GAE wasn't very good. It wasn't very mature when I looked at it (around March 2011), but maybe things have changed since then. For example you had to compile from trunk, as the latest stable version had some bugs, and even then a many to many relation between entities wasn't supported. Documentation was kind of scarce also.
The MobileWebApp sample from the GWT SDK ?
http://code.google.com/p/google-web-toolkit/source/browse/tags/2.4.0/samples/mobilewebapp/

Problems with GWT 2.4

I compiled the version in svn tagged as gwt2.4rc. Now there are a
couple of more libraries than I had the last time. Are the any
instructions on which library is needed for what? I tried it with only
the standard libraries (servlet, servlet-deps, user) but I get the
following error when a requestfactory call is made:
java.lang.NoSuchMethodError:
com.google.gwt.core.client.impl.WeakMapping.setWeak(Ljava/lang/
Object;Ljava/lang/String;Ljava/lang/Object;)
I tried declaring the requestfactory-client and requestfactory-server
jars as dependencies, but i doesn't help. I am using maven to manage
my dependencies.
I would go back to 2.4 beta, but I need the drag&drop features that
were introduced later.
Does anybody has an idea what could be wrong? or any hints how i can
dig deeper into this? I spend a lot of time trying to figure this out
but without any success :(
Do I need to provide more information?
Regards,
arne
Are you sure you deployed the 2.4-rc1 gwt-servlet.jar in your war/WEB-INF/lib ? Also, make sure you override the SDK for the gwt-maven-plugin: http://mojo.codehaus.org/gwt-maven-plugin/user-guide/using-different-gwt-sdk-version.html
That being said:
when using Maven, you shouldn't use gwt-servlet-deps but instead reference org.json:json and javax.validation:validation-api
requestfactory-server can be used instead of gwt-servlet if you only use RequestFactory on the server-side (no GWT-RPC, no SafeHtml, no RegExp, etc.); requestfactory-client is to be used for Java clients (such as Android), not the case here.

Does anybody know if JSystem can be used for testing Java applets?

Does anybody know if JSystem (open source code based on JUnit and ANT for automated tests) can be used for testing Java applets? All I need is Yes or No and if possible a link for reading about it. If you are familiar with another tool that can be used, please give me a name or a link to reading about it.Thanks.
Not sure about JSystem but you can take a look at this tool code.google.com/p/fest/ which supports applet testing, refer: http://fest.easytesting.org/swing/wiki/pmwiki.php?n=FEST-Swing.FESTAppletViewer
Of course.
it supports both Autoit usage or Swing apps, using jemmy.