During the season of holidays, even the code-geeks lift their heads from the computer and ask themselves: what is it that I am doing and why am I doing it? At ZeroTurnaround, the answers came quickly when we had a all-hands-aboard team meeting in Estonia last week.
Product Updates, Company News & Fun
Tweet Liferay users will be happy to know that it is possible to make a Hook so that you can reload JSP changes without redeploying your application. For those of you new to Liferay and/or JRebel, hooks are small programs that you deploy to overwrite some small part of Liferay’s default functionality. By using Liferay JSP hooks, you can keep your code separated from the default Liferay code; and since Liferay is open source, you can download it, make your code changes then deploy it. By adding JRebel to this equation, you can enjoy a super-fast feedback cycle by eliminating the redeployment process altogether. This is a small “JRebel with Liferay” screencast designed to show you how to do just that. The following versions of software were used in this demo:
- Liferay IDE 1.4.0 (From eclipse marketplace)
- JRebel 4.5.3 (201112070111) (From eclipse marketplace)
- Liferay CE 6.0.6 SDK and bundled tomcat-6.0.29
- You have your development environment ready.
- You have Eclipse installed and it has plugins for both JRebel (or JRebel for Eclipse) as well as Liferay IDE.
- You have made a Liferay server runnable in Eclipse and have set up a Liferay SDK project.
- Starting Liferay server with JRebel enabled.
- Making a small JSP hook, adding and modifying rebel.xml.
- Deploying the hook on server.
- Seeing that when we change the JSP, the page is changed on refresh.
Questions and Answers:Q: I made a change to a JSP in my hook but the entire hook is immediately redeployed on save. Is JRebel supposed to do that? A: When a change is made to JSP, only the changed file must be reloaded. The probable cause is that when you change your hook Eclipse automatically publishes the hook to Liferay. It can be disabled under server “Overview” (Eclipse Servers tab -> double click on a Liferay server): Q: I have JRebel Eclipse plugin installed, but there are no JRebel check boxes in my IDE, what might be wrong? A: Currently we have the JRebel check boxes in Liferay 6 CE versions IDE, but not in Liferay EE-s Liferay Developer Studio (they will be in JRebel nightly version build soon) If you don’t have JRebel check boxes you can add JRebel arguments under server console: We hope this post about Liferay JSP hooks was useful, and please leave your feedback below in the comments section!
When a developer using JRebel wants to begin a multi-module project in IntelliJ IDEA, the default settings create a situation where rebel.xml files override each other. This means that JRebel is unable to detect all the classes in the project (meaning = it cannot work its customary magic). In this post, we’ll do a technical deep-dive into what happens when the default setup is used, how it works and what to do to work around the defaults so that JRebel can detect all classes in the project and eliminate the need to restart for making changes to them.
Today we announce a new milestone for our Jenkins/Hudson plugin for LiveRebel. We’ve added some new features to the LiveRebel 1.2 branch, the main addition being the ability to restart your application server for a clean deploy when hot-patching is not compatible (you will need to downoad LiveRebel 1.2-M2 to test this new plugin version). Right now we call it “Offline update”.
President Toomas Hendrik Ilves of Estonia is a tall, impeccably dressed man with a bow tie whose 45-minute visit to our bigger and brighter offices might at first seem intimidating to a group of geeks. Luckily, President Ilves has a bit of inner geek of his own–the visit marked an occasion to celebrate ZeroTurnaround’s contributions and impact on Estonian economy and awareness and reach of Estonian IT in the world. ZeroTurnaround’s innovations are making waves in the global IT world by winning three awards in a single year (the JAX Innovation Award, Duke’s Choice Award and the Estonian Innovator of the Year Award), and growing the team size by 250% in 2011 alone.
One of the best things about the Devoxx Java Conference in Antwerp each year, is that even after our 5th time going there we still meet lots of new developers who aren’t quite sure what JRebel actually is. They might have heard different speakers mention it during their talks as being helpful for speeding up development, or saw the ZeroTurnaround team at the booth in the exhibition hall, or just ran into someone wearing a new JRebel t-shirt in the beer line.
ZeroTurnaround has become approximately 250% more geeky in 2011, according the our latest numbers. We grew from 14 to 35 team members, expanding our offices in Tartu, Tallinn, Prague and Boston. It’s fair to say that these last months have seriously been focused on building Team ZeroTurnaround! Growth like this can only happen when there is something attracting new, talented developers (maybe it’s our Jobs 2.0 page?). Developers at ZeroTurnaround are looking for a challenging, exciting job environment, fueled by innovative product development, rapid growth and, occassionally, beer. We like to think that this is a chance to be part of creating something new, something that makes a world a better place.