This is a presentation of how to rapidly configure nginx.
This product is one of the fastest and most used web server on the market. It works mainly on linux installations, but you can pretty much install it everywhere. Unlike apache, while nginx can be used as well as a full fledged web server, it is consistently used as a front service for nodejs installations.
The regular select query from mysql in nodejs calls the provided callback function with all the selected data. If you select 10 rows from the database you are ok, however if you select one million, that is no longer OK. Here is how you process large mysql result sets with stream style operation.
Gradle is one of the most versatile build tools, based on Groovy. It is extremely complex, and most of the programmers only require very little for their day to day activity. This article tries to provide a boost for whoever is currently using Ant or Maven and want or has to switch to Gradle.
You need to create an Android activity that contains multiple pages, that can be flipped horizontally to show various content. The pages have a similar structure, only the content is different.
Here is how you do Continue reading
This is a step by step presentation of how to use the google OAuth to secure your application. The source code is included, you can download it and customize it for your needs.
There are a lot of libraries available for OAuth implementation. This is an implementation from scratch grouped inside a servlet filter, the only library used is GSON. I wanted to use the Google libraries but wanted to do something useful for other identity providers as well.
This is a text to help you get up to speed pretty fast with angular.js. It is not complete and I don't want to say it is correct. It is the result of what I studied from one of the books existent on the market and I rush to write this article before I forget what I just learned. Read on... Continue reading
This is a "first steps" presentation of Jersey REST web services.
It is assumed you want to deploy on a regular Java application server. Client sample is provided as well, however it is well known the REST services are easy to consume without any convoluted technology.
You need to access Oracle database server from your linux machine, installed the Oracle client and you get the message above. Actually this is not the full message that you get, the full stuff is something like that:
Error 6 initializing SQL*Plus
SP2-0667: Message file sp1.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
So you start browsing the internet and people is asking you to check the msb files are actually there, that you got rights to read, some people will tell you that write rights are needed as well in some folders, etc.
Spring MVC version 3 brings a lot of functionality that makes file upload a breeze. However, there are a number of steps you have to take care of in order to ensure this functionality works.
So you install your new machine, with Java, Tomcat and MySql and then you start everything. You use the very latest version of these products (currently Tomcat 8 and JDK1.8) and you expect the best. However, Tomcat starts very very slowly - anything between 2 minutes and 30 minutes.