Monday, March 25, 2013
As part of this update and in preparation for my talk at Red Hat Summit 2013 I also have been working with OpenShift Enterprise to develop an on-premise, private cloud solution that is a DropBox clone. I'll have details on how to set this up in another blog entry either here or at my Company's Blog - An Open View.
For this version, I'm working with the HA-Proxy configurations to build a complete solution that has auto-scaling inherently built-in and has a strong security foundation.
Stay tune for details.
Friday, March 01, 2013
Hibernate OGM provides Java Persistence (JPA) support for NoSQL solutions. It reuses Hibernate Core's engine but persists entities into a NoSQL data store like MongoDB or Infinispan.
In addition to OGM, Hibernate Search and Lucene are important components. Check out the article here and check out the project from the Vizuri GitHub repository. This is a JEE stack application and includes some Arquillian tests to get you started fairly quickly.
As always, comments are highly encouraged.
Friday, February 08, 2013
You can check out the article over here - Java and Mongo Object-Document Mappers - Morphia
I'm sure that over time, we can simplify the domain model and leverage the Query objects within Morphia for more generic classes. But for now here's a good start. As always, comments are highly encouraged.
Next up is Spring Data.
Friday, January 25, 2013
Thursday, January 17, 2013
Its available in the Eclipse Market place as 'javatoomnigraffle' or you can check out the page here.
Granted you have to pay some bucks for Omnigraffle, but its worth it and now with the Eclipse integration, it will make for some good pictures for upcoming blog posts.
Monday, January 07, 2013
There were some significant changes in the upgrade which required completely replacing the php directory - at least according to the upgrade instructions on ownCloud's site.
This was a fairly smooth process as I made sure I had checked out my latest deployed instance on OpenShift. Then, I removed everything in the PHP directory but the config and copied in the latest ownCloud version, committed the changes and watched the OpenShift magic automatically deploy the new CodeBase.
Well almost. I ran into an issue where the session.save_path php variable was not set to a writeable directory. Simple enough fix, just modify the php.ini to do this - except on OpenShift. The next place to set this then is to configure it in a .htaccess file. So in the .htaccess file I added -- 'php_value session.save_path /tmp' and then did an rhc app restart owncloud -l. Viola, I'm off and running again.
To fix it correctly, I need to modify the .htaccess to use one of the environment variables for openshift - most likely OPENSHIFT_TMP_DIR, but for now this works and I can tinker with the latest bits of ownCloud.
So in the future, if you need to modify a PHP variable, make sure to use the .htaccess file for this.
Now my next thing is to make sure that I modify the ownCloud openshift quickstart to use the latest code.
Friday, December 28, 2012
However, I decided to add in a couple of other Java build tools as well - in particular Buildr and Gradle. This is where I was surprised - Gradle surpassed Maven in terms of interest in the across the intertubes.
Now this doesn't indicate adoption or maturity, but clearly over the last 2 years, Gradle has been on a steep upward trajectory. This will surely translate into more adoption for enterprise projects and is definitely a tool that I need to spend more time learning about it.