Monday Nov 02, 2009

Java database application performance

Web enabled database applications is one my favorite old pastime. I've built tools for this usecase. There are many ingredients that go into making a technology decision as you are building a site and the choice of database (assuming that you have that choice). For convenience, many folks use PHP & MySQL on the front end since they is part of the LAMP stack. Others choose JavaServer Faces since it is already part of the Java EE standard and provides a rich component set as well as the ability to easily bind to data sources. No matter what choice you make, one will have to deal with the performance considerations as they build their tiered application.

A good opportunity to tune your performance skills will be available Nov 5th during this webinar. Mark is an expert and you'll be able to learn directly from the source (author of the Connector/J driver).

Sunday May 17, 2009

Ultimate cloud or crazy idea

Listening to Leo Laporte on the way to work today, I learned about Wolfram Alpha - computational knowledge engine. The concept is fascinating and I've been playing entering all kinds of nouns, expressions, verbs, etc. The results are amazing. It would be very interesting to see if the technologies that are being used to render the results evolve to include, JavaFX, Flash or the like.


 I'd also love to learn about the architecture of the (computational) service. I know that they are using MySQL as their database, however I have no data on their data center. It will be interesting to see if this research influences the future direction of Google.

Monday Mar 24, 2008

AMP developement on the Mac

If you want to do any AMP development on your Mac and have Leopard you'll be pleasantly surprised by the out of the box experience.

First of all you the system comes bundled with Apache 2.0 and PHP 5.2.5. To configure the stack is quite simple:

  • "Turn on" Apache - go to System Preferences | Sharing | Web Sharing and check this option
  • Test the installation the web server installation http://127.0.0.1/
  • Find the main configuration file of the Apache web server /private/etc/apache2/httpd.conf
  • Enable PHP - edit httpd.conf (remember to use sudo) and uncomment this line:
    • #LoadModule php5_module        libexec/apache2/libphp5.so
  • Test again by creating some file in the document root: /Library/WebServer/Documents and add the following code snippet
    • <?php phpinfo(); ?>
    • bring up the browser again and invoke the test file (http://127.0.0.1/somefilethatyoucreated.html - you should see a table that gives you the details of the php version that you are running

Monday Jan 28, 2008

NetBeans and MySQL

Sun's recent announcement to acquire MySQL, reminded me that I actually have a copy of MySQL installed on my Mac. I've done that a long time ago, when I was experimenting with Wordpress (the blogging software) and to easily deal with the compatibility issues of MySQL & PHP, I installed the MAMP software.

I knew that NetBeans bundles the Connector/J JDBC driver, so I wanted to find out how easy would it be to point NetBeans to the MySQL database used when I originally setup Wordpress.

In a nutshell, it was an easy process. I used the "New Connection" wizard on the "Services" (Database node) tab in the IDE and just used the custom port (8889) used by Wordpress, rather than the default one used by MySQL (3306). As it is always the case, a screen shot tells the story better.


About

octav

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today