1
Comments

JUnit with Netbeans by lamia

In my office, TDD is a new methodology that we've just began adopting. My senior wrote a TestCase class before he left the company. Thanks to him, I got some sample codes to study. After baby sitting, I decided to open my computer and fire up netbeans...
Filed under: , , ,
7
Comments

JBible - A Java based Bible Application by lamia

Well... It was one hell of a week for me and I needed something to remind me how fun programming is. Or used to be hehehe. This was supposed to be an entry to Keith's contest, I unfortunately fell ill a few days before the deadline and wasn't...
Filed under:
0
Comments

Switching workspaces in Websphere 5 by lamia

I'm currently maintaining an application built on Websphere 5. It's such a shame that once you select a default workspace, there would be no option inside the IDE to switch workspace(RAD7 and plain old Eclipse has this). Luckily, I had a friend...
Filed under:
3
Comments

Inserting data to MySQL table using Flex and PHP by lamia

Ok, in my last post I tried to follow Mike J. Potter's tutorial on how to read data from PHP to Flex. He actually also tried to make an example of how to write data but he left some part out. Ofcourse I'm still just trying out the examples, making...
Filed under:
5
Comments

Hands-on with FLEX by lamia

Note: This post is not intended as a tutorial. I'm just sharing my own personal experience with learning FLEX. Finally, I was able to sit down for a few hours and do some coding with Flex. Well, I didn't write my own code but I think it helps...
Filed under:
0
Comments

Installing Flex SDK and Spket IDE by lamia

Installing the Flex SDK If you haven't downloaded the Flex SDK yet, go to the adobe website . Installing it is just a matter of extracting the zip file to your preferred directory(mine is in C:\flexSDK\bin). If you want to be able to compile from...
Filed under:
0
Comments

Getting FLEXible by lamia

Bored. That's the best way to describe my feelings right now. I've had a chat with my "sensei" this morning and he told me that he noticed my lack of enthusiasm. I agree with him, it's been sometime since I've felt very anthusiastic...
Filed under: ,
0
Comments

Demonstrating the media attribute of CSS style tag by lamia

And of course there are various ways of using CSS aside from defining an inline style tag. But for the sake if this example and simplicity, I'll try to demonstrate the media attribute's usage using the style tag. The media attribute has 7 kinds...
Filed under:
4
Comments

It's Been a while... by lamia

It's been a while... I haven't written anything good lately (not that I wrote anything good at all hehehe)... I rarely touch my computer, I'm just into playing my PSP. I'm not working on my game either, though I've been taking a look...
Filed under:
2
Comments

Strip that hour, minute, second part out of my Date field in Oracle by lamia

I was trying to get a set of records in oracle with a certain date interval. I wanted to make sure that I only get the month, day and year part. Good thing I had an oracle guru officatemate and told me that the TRUNC function strips out the hour, minute...
Filed under:
2
Comments

Parsing Excel Date with POI - JXLS by lamia

Just a quick post from me here. I couldn't find any resources on the internet, I couldn't remember how I found this solution. Here's the scenerio. When you try to parse and Excel sheet using JXLS, unless your Excel sheet column is formatted...
Filed under: ,
0
Comments

Passing an Array in a PL/SQL Function/Procedure by lamia

Note: The code provided will not compile. It should only serve as a guide! We had a performance issue and one of the solutions I came to to prevent excessive rountrip from my Java application to the database is to pass the things I need as an array to...
Filed under:
0
Comments

Exception handling in PL/SQL by lamia

Note: I'm doing this code inside a Package. I've never written an PL/SQL program outside of a Package. You can declare exception everywhere inside a PL/SQL Stored Procedure or Function. PROCEDURE MY_PROC(V_ARG_SOMETHING IN MY_TBL.MY_FIELD%TYPE...
Filed under:
0
Comments

Could not open ejb-jar.xml in Deployment Descriptor Editor in RAD7 by lamia

We downloaded our project from JDK 1.5 to JDK 1.4. The step would obviously bring out some issues and the most annoying one I've come to experience so far is when I couldn't open my ejb-jar in the deployment descriptor editor. The solution was...
Filed under: ,
1
Comments

Resetting a session-scoped ActionForm member value by lamia

I had a session-scoped session form and when a user clicks on a button, I wanted the value to be reset. I tried to do something like myForm.setValue(""); but it didn't do the job for some reason. Of course, I'm doing the usual struts...
Filed under:
More Posts Next page »