-
Portlets are pluggable user interface software components that are managed and displayed in a web portal. They produce fragments of markup code that are aggregated into a portal. There are two specifications of portlets exist nowadays, they are JSR-168 (Java Portlet Api) and JSR-286 (Java Portlet Api 2.0). Liferay is an opensource portal bundled with different servlet containers, such as Tomcat, Jetty, Geronimo, JBoss, etc. As it is opensource it has a reach variaty of opensource portlets for
-
If you ever write production multi-threaded server in Java you know how it is difficult to implement load balancing between worker threads. You need to fight many issues to have good load balancer: 1. You need to limit somehow the number of worker threads, because with unlimited thread pool you can have memory exhausted. 1. You need to implement sophisticated procedure for clean worker shutdown. 1. If you are using Executors you might now that they are not provide
-
At our company’s blog we have already considered many types of the Grails testing. But there are yet one testing type, on which we have to take a look at. In this article we will check out the overview of writing functional tests using Geb/Spock technologies. Geb and Spock is a young and fast developing technologies. Spock provides fast and convenient test writing. And Geb provides testing of the web application by the HTMLUnit and the real browsers
-
Hey guys! I had an issue with deploying my Grails project to Cloud Foundry with using cloudfoundry-grails-plugin. My application was using Tomcat 7 unlike Cloud Foundry, which use Tomcat 6. In other words, to have a Grails application with Tomcat 7 run, I had to deploy the entire Tomcat 7 directory, but before it should be slightly reconfigured. Here's a [link](http://blog.cloudfoundry.org/2012/06/18/deploying-tomcat-7-using-the-standalone-framework/) with a great tutorial on how to get Tomcat 7 up and running on Cloud Foundry. After doing