In this post, I will tell you how to fix the PHP error Unable to allocate memory for pool.
How to display project version in Java
Sometimes, it’s useful to display the project version in your application. That version can be found in the MANIFEST.MF file. It’s located in every JAR or WAR file in the META-INF folder.
How to change Sonar default database
Sonar uses a Derby or H2 as default database. When running Sonar, it says that these databases may only be used for evaluation. Now, in this article, I will tell you how to change the default database and how to configure Maven to use it.
How to use json with java
Is it possible to use json in combination with java? The answer is yes! You can easily parse json objects to java objects and vice-versa. To do so, you can use Google’s framework ‘gson’:
Maven dependency
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.2.4</version>
</dependency>
How to skip maven unit test in Eclipse
When you want to build, install, clean… maven. You have to run all the unit tests. The problem is when you have plenty of tests or database connections to test, the time that the build need is way too long. It is possible to build without running the tests. You can configure that in Eclipse:
Mobile application development resources
If you are looking for all kinds of mobile app development resources and tools. Then you must have look at Mobile Tuxedo (). On this website you can find all kinds of resources and tools to develop and design mobile web applications. I’ll give you a short list of some resources there are available: Prototype apps Mobile design App builders Icons Mobile app frameworks Grid frameworks UI...
How to find objects by attributes in Hibernate
What if you have an object without ID. How do you know if that object already exists in the database?
How to solve the Maven VM initialization error
When you do a simple Maven build and you get the following error:
Free JavaScript e-books
On You can find many e-books about JavaScript. A few examples:
How to unit test a DAO class in Java
When you test a DAO class. It is possible you insert or update test data in your database. Of course, we don’t want that. There is a possibility to rollback the transaction when your test is completed.
We use EasyMock to do so.