Posts

Showing posts from September, 2008

Beware: Your App Server is NOT plug-and-play

Recently, I tried to build a simple application with a somewhat curious architecture: this web application forwards the request from user to a message queue, and another application reads from the message queue, executing an insert sql statement for each message. Netbeans 6.5 beta comes with Glassfish v2 Application Server, which is essentially a Sun Java Application Server 9.1-something with its JMS Message Queue implementation and database connection pool. With its default configuration, I created a JDBC connection to an Oracle Express 10g database, and also its connection pool. The first application is a JSF application, sending a JMS message to the JMS message queue. The second app is an EJB app, consisting a single message driven bean. Naturally the app server pools this bean too. Ok, during manual application testing, all works well. During automated testing using ab (ApacheBench), things starts to get strange aft er more than 10 concurrent connections. With 50 concurrent con

integrasi ebox-usersandgroups dgn Apache-Subversion

Subversion adalah sebuah source control system yang dapat menyimpan file apapun . Prinsip kerjanya lebih mirip CVS daripada SourceSafe , dan memang merupakan hasil pengembangan orang - orang yg ingin memperbaiki CVS . Dalam Subversion, kita dapat menyimpan file source code ataupun binary (file PHP atau file Excel, misalnya ), memberi akses terpusat ke banyak orang ke file tersebut , memberi access control ( siapa yang boleh menulis , siapa yang hanya dapat membaca ), mencatat tiap versi dari file ( sehingga ada history/log revisi tiap file, diubah oleh siapa , kapan , dan apa pesan perubahannya ). Subversion memiliki fitur integrasi dengan Apache Web Server, sehingga kita dapat memanfaatkan salah satu dari metoda authentication yang tersedia bagi Apache, dan memungkinkan akses ke repository menggunakan protokol HTTP. Ya benar , bisa diakses dengan web browser, tapi hanya akses dasar saja yang dapat dilaku