To start a Jetty Server, you can type the following command.
java -jar start.jar
The only way to stop the Jetty Server is by pressing Ctrl + C in the shell prompt.
Actually, there is a way to issue a stop command to the Jetty Server on another shell prompt. But you have to specify the STOP.PORT and STOP.KEY in the start command as follow. Continue reading Jetty – Stop a Jetty Server by Command→
Starting from iPhone OS4, you can add an advertisement banner to your iPhone Application using the iAd framework. I found a great article talking about adding iAd to the iPhone app. Here is an example of a empty view based application with iAd.
Recently, there is a performance issue on the application which i am supporting and i find that the bottleneck is related to the SQL query speed. Therefore, my SA suggests me to add an index on the table to increase the query speed.
But before i could add the index, i have to find out the SQL which runs slow. In PostgreSQL, you can query the recent SQLs by the pg_stat_get_backend_activity() function. Here shows you an example. Continue reading PostgreSQL – Check Running SQLs→