
Tag archives for generate
Hi,
Here are some libraries for generating beans automatically in the context of unit testing with the properties set.
Random-beans : https://github.com/benas/random-beans/wiki - https://github.com/benas/random-beans
Apache bean utils : http://commons.apache.org/proper/commons-beanutils/ - http://www.javadb.com/simple-dynabean-example-apache-commons-beanutils/
Mockito http://mockito.org/
That's all!!!
Huseyin OZVEREN ...more»
Hello,
After my previous post concerning the SSL, PorteCle Generate KeyStore, self-signed certificate, tool PorteCle, concerning the generation of server's KeyStore, self-signed certificate..., in this post, i would expose the case of a server SERVER1 which communicates with an other server securized SERVER2 (like Jboss, Tomcat,...), so, now, we are speaking about the TrustStore of server.
A keystore contains private keys, and ...more»
Hi,
In this article, I will try to present briefly:
1) the management of self signed SSL certificates with keytool;
2) a complete example of certificate's generation;
3) installation on web server and tests;
1. Presentation of keytool
Java uses its own tools to generate and use self signed SSL certificates, based on a proprietary storage in a keystore file, comprised of certificates / keys accessible ...more»
Hello,
In this mini article, we will explain the 2 ways to generate JSON from a web application based on Spring MVC:
- with the "JSON view resolver" of Spring;
- without the "JSON view resolver" of Spring i.e. with the json-lib-2.3-jdk15.jar;
Reminder: Classic handler returning to a JSP page due to 'JstlView'
... and the view resolver JstlView is used in the spring ...more»
