Wednesday, August 28, 2013

My Jelastic Experience with TomEE

Recently I tried to use Jelastic Platform, Java and PHP Hosting Platform. Frankly, it's usage is very simple and pricing model is so clear and cheaper than some of the alternative hosting platforms. You can use Apache Tomcat or Apache TomEE servers for deploying your Java web applications in the cloud.

Here is the steps for using a free trial: (There are some resource limitations in the free trial but it is enough to test the platform):

How to Use Free Trial
  • Go to page,
  • At the main page, fill email text book and click "Try It Free" button.
    •  Now, check your email address to get your password to login the platform,
    • Open a browser and type the URL which is also specified in the mail,
    • Login to jelastic platform using your email address and password.
    • Voila, your are in the welcome page!
    Creating TomEE  Server
    • After login to the platform, you must create your environment to use some TomEE instances.
    • Click "Create environment" button to start, you will see the below screenshot:

    • Above we select TomEE. You can also select any available servers. In trial version, you can use max 16 cloudlets (each cloudlet has some defined resources in jelastic.). Write your environment name and  click "Create" button.
    • Here you go, your TomEE application server is ready to use.
      • Now you can deploy your applications into the TomEE. There is one sample application which is ready to deploy into TomEE. You can also upload your own applications and deploy them. It is really easy!
      More Servers, Databases, Load Balancers......
      You can also use Apache Tomcat and some other application servers. Databases and load balancers are also available to deploy.(Easy to configure and use).

      Overall I like Jelastic Platform. You can check for getting more information.

      Monday, August 26, 2013

      Review My Book, Apache TomEE Cookbook

      You can review my new book from Ask David web site, Apache TomEE Cookbook Review.

      Thanks for reviewing my book.

      Sunday, August 25, 2013

      Book Review : Apache CloudStack Cloud Computing

      I have just read the book related to Apache CloudStack project,  The book title is “Apache CloudStack Cloud Computing” and is published by “Packt Publishing” company.  As defined in the CloudStack web site, “Apache CloudStack is open source software designed to deploy and manage large networks of virtual machines, as a highly available, highly scalable Infrastructure as a Service (IaaS) cloud computing platform”.

      The book starts by giving some brief information about general “Cloud Systems” and its necessary components.  In the first chapter, it explains the CloudStack internal architecture and its core modules such as “Cloud Deployment Models, Kernel, Management Server, Storage and Network”.   Network part in this chapter is somebit complex and hard to understand especially for the first time novice readers.

      After the introduction section, the book provides very detailed information about how to install and configure the CloudStack and its components in the following chapters. Book is easy to follow and explains the CloudStack concepts with simple terms.  When necessary, it also shows the every step of actions with a screenshot of the OpenStack management GUI.

      In Chapter 2 and Chapter 3, it goes to explain installation and configuration of the CloudStack  in a great detail. Altough some parts are repeated over in these chapters, one can easily install and configure the CloudStack after reading these sections.  “Basic and Advanced Zone” based configurations are explained in detail. For novice users, I think most complex part of the configuration is the “Network Configuration” of the cloud. In Chapter 4, it dives into the “Network Management and Configuration” part of the CloudStack.  Novice readers may read some network based introduction documents before jumping into this chapter to understand “DNS, switches with trunking mode, routers etc” related concepts.

      Very important part of the every cloud platform is “Storage Configuration and Management” In Chapter 5, book explains the CloudStack “primary and secondary storage areas” and related features as easy to follow and very understandable. This chapter also talks about “CloudStack supported storage platforms”, “Virtual Machine migrations, snapshots and templates”.
      In the following chapters,  “CloudStack Service Offerings, Cloud Stack User and Access Management,  High Availability and Performance Tuning” based concepts are explained in a detailed manner.

      Overall, the book is well written and cleanly provides detailed information about CloudStack platform. This book is packed with practical, hands-on illustrations for building and managing your CloudStack environment.  After reading this book, one can able to download, install, configure and manage basic and advanced cloud infrastructure which may deploy  1-to-thounsands of virtual machines. One minor negative point is that some links in the book are not valid anymore. Therefore, you have to put some extra efforts to find the actual links J

      Lastly, thanks to Navin Sabharwal and Ravi Shankar for writing such great book about great open source project CloudStack.  You can buy the book from

      Thursday, August 22, 2013

      TomEE History and Why I Wrote the Book

      First of all, I would like to thanks to everybody for  supporting my first book. Actually, I am not an experienced book writer and this is my first book!

      Some History about TomEE: I am founder of the Apache OpenWebBeans Project. Before TomEE appears on the market, I created an idea of implementing such web profile server (Idea is : Implementing a Apache Web Profile Server Implementation from all other Apache Java EE projects.). I initially implemented OpenEJB + OpenWebBeans integration, found lots of bugs while integrating other projects etc.... I started my project in Google Code which was named Siwpas application server (Currently it is a project of OW2 organization and located in Siwpas was on the market even months (maybe year) before TomEE but because of some complex business issues Siwpas was not access to Web Profile TCK.  After a while TomEE started its huge efforts (really huge!) to implement such server and was able to use TCK (because Apache Software Foundation is a licensee of these TCKs). Then, TomEE was born!

      Anyway, TomEE is a good application server and we love it also!

      Why I Wrote This Book : Lots of our customer who uses Apache TomEE and Siwpas, said that they are not able to find organized documentation (book) about TomEE. They said that lots of concepts and documents are distributed over some web pages including TomEE documentation page. Therefore, I started to write draft tutorial documents for my customers and then collected these drafts in my book.

      Content of the Book: This book is a cook book and quickly explains concepts and configuration of TomEE. Here is the chapters:
      • Chapter 1 : Introduction 
      • Chapter 2 : Getting Started 
      • Chapter 3 : TomEE Architecture 
      • Chapter 4 : TomEE Web Server, Apache Tomcat
      • Chapter 5 : TomEE EJB Lite Server, Apache OpenEJB 
      • Chapter 6 : Deployments in TomEE 
      • Chapter 7 : JavaEE Technologies Used in TomEE 
      • Chapter 8 : TomEE Security 
      • Chapter 9 : JNDI Naming In TomEE 
      • Chapter 10 : Transactions in TomEE 
      • Chapter 11 : TomEE Clustering Features 
      • Chapter 12 : TomEE WebSocket Protocol Support 
      • Chapter 13 : TomEE GUI 
      • Chapter 14 : Testing Techniques in TomEE 
      • Chapter 15 : TomEE Embedded Usage 
      • Chapter 16 : Useful References  
      • Chapter 17 : ASF License 
      I started with installation and configuration of the TomEE. Then dive into the its components and their configurations. Provides information about Security, JNDI, Transactions, Clustering and some useful and unknown features like "Embedded Server, Clustering etc."

      I hope that this guide helps you for learning of TomEE secrets. I also give 24x7 hour technical support for TomEE. If you need more information about support options, please contact with me.

      Your feedback is very important and always welcome. Please send an email to to provide your  valuable feedback and to ask any questions.  

      You can support me with buying the book from

      Best Regards.


      Wednesday, August 21, 2013

      My Book : Apache TomEE Cookbook Published

      My Java EE customers are now happy! They want from me to write a cook book about Apache TomEE. And here it is, I have written a cookbook about Apache TomEE application server. As a founder of Apache OpenWebBeans project and helping lots of project in Apache, Apache is a great place to work on these open source projects!

      My book "Apache TomEE Cookbook" published by Amazon Create Space. Buy book book from
      • e-Book Copy of the book :  Add to Cart


      Tuesday, August 13, 2013

      Changing Applet JVM Options

      Recently I faced with problems when trying to change applet JVM options. First of all, currently there are some bugs related to Java 7 JRE . Here is the links to get more information about these bugs:
      Simply saying that in these JRE versions, updating JVM options doesn't work. I installed 1.6.0_33 JRE to try.

      Here is the simply easy way to update applets JVM properties: (Using Windows 7)
      • Close all browsers
      • Open file (C:\Users\username\AppData\LocalLow\Sun\Java\Deployment\
      • Delete cache folder content (C:\Users\username\AppData\LocalLow\Sun\Java\Deployment\cache)
      • Add the following line to the
        • deployment.javaws.jre.0.args=-Xms1024M -Xmx1024M -Djava.compiler\=NONE -Xnoagent -Xdebug -Xrunjdwp\:transport\=dt_socket,address\=8000,server\=y,suspend\=n
      "0" means that it is my first JRE listed in Java Console.

      That is it!

      I hope to save time many of you!