Pages

Thursday, December 22, 2011

Say Hello to Holga!

Yesterday, I got my very first lomo camera - the Holga 120N. Actually, I've been very fascinated with lomo pictures for quite some time. I find them cool! So after I finally learned about "Vignette", I decided to give lomography a try to make cool pictures myself... Wish me luck! :)


P.S.
I got my camera from Kara with 2 100F films. You can check her website! (http://www.lomolocoshop.com)

Price:
Holga 120N with Manual & Strap - P1,900
2 Provia 100F (Fujifilm) - P235/each

Friday, December 16, 2011

12.16.2011 is Apple Day!

Next Friday will definitely be an Apple Day here in the Philippines as two giant networks will simultaneously launch iPhone 4S as an addition to their postpaid handsets. Aside from the one doing it your way, the most amazing network is now in the picture. This will be, definitely, a war. :)

Thursday, December 8, 2011

Alone Time with Margarita


Margarita glass from Alley Gator.

I've been thinking of having a cocktail drink for some time and thought last night was the best time 'coz I had the "craving feeling". =) Actually, my initial plan was just --to have a single glass of margarita after my meal-- enough to satisfy my craving and go home. But I ended up ordering a pitcher and drink alone like a loner loser. Well, my abnormal decision was because of the Php100 price difference of a single glass shot versus their pitcher. For the single Margarita glass, they're offering it for Php120, their pitcher's price meanwhile was Php220. Pretty reasonable eh?

Anyway, sometimes its good for you to experience some alone stuff like this. Get some time to think, *reflect* & ETC... I had it last night and I enjoyed it! I did call some of my friends as well to catch some updates and found myself laughing over the phone. I want to try it again! :)

Thursday, October 20, 2011

The jaxws-maven-plugin

For sometime, I've been encountering an error in my JAX-WS application in Maven when deploying it to Websphere. The error occurs when your web service's return type is a List. Here's the exact error:

[javax.xml.bind.JAXBException: java.util.List is not known to this context]

Exporting the war file using IBM RAD will not let you encounter this problem. Unfortunately, RAD does not have a Maven plugin so we are using the native Eclipse IDE. So we've come up to a solution using the jaxws-maven-plugin to make sure the application will run properly in Websphere. Add this into your pom.xml :

<plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-compiler-plugin</artifactId>
   <version>2.2</version>
   <executions>
       <execution>
           <phase>generate-sources</phase>
           <goals>
               <goal>compile</goal>
           </goals>
      </execution>
   </executions>
   <configuration>
       <target>1.6</target>
       <source>1.6</source>
   </configuration>
</plugin>

<plugin>
    <groupid>org.codehaus.mojo</groupId>
    <artifactid>jaxws-maven-plugin</artifactId>
    <executions>
        <execution>
            <phase>generate-sources</phase>
            <goals>
                <goal>wsgen</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <destdir>src/main/java</destDir>     
        <sei>ph.com.src.endpoint.WsEndpoint</sei>     
        <keep>true</keep>      
        <verbose>true</verbose>
    </configuration>
</plugin>

The <sei> should be the location & name of your service endpoint interface. It will I think sort of override it so that no error will occur. :)

Thursday, September 1, 2011

Words with Friends

I just found a new addicting game that will better help my vocabulary. =)

Created by Zynga, Word with Friends is a mobile word game like Scrabble that will allow you to play with your opponent wherever you are. In short, online! It is available on Android and iOS as well as in Facebook.

Let's play Word with Friends now! :)

Here's my username: jfernandez26

Tuesday, August 23, 2011

Did you know?

I enrolled this evening in our company's e-Learning and selected the module Understanding Processes

If you're asking why, first of all, it became a requirement in our team. Second, I decided to take the module to overcome my "unawareness" feeling. Yeah, "unawareness" it is. Actually, I always have the feeling that there is something I do not know or need to know when it comes to the business side of software development, or of anything, in general. So I'm pretty sure that the learning module will help me (maybe not a lot, but it will help). After all, I am trying to be more of a process-oriented person than a goal-oriented one in doing my tasks. Why? Because for me, if you make your process right, your goal, whatever it is, will follow right.

Posting source code in blogspot

Special thanks to Vivian's Tech Blog! I only did some changes to make it look the way I want... :) :) :)


WAS 7, JSF RI and Richfaces Compatibility

Last week, I learned how to avoid the error in GlassFishConfigureListener occuring when deploying a JSF + Richfacess-driven application in WebSphere. Here is the example stack trace:

E com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextCreated SRVE0283E: Exception caught while initializing context: {0}
                                 java.lang.NoSuchMethodError: com/sun/faces/config/GlassFishConfigureListener.scanWebXml(Z)V
	at com.sun.faces.config.GlassFishConfigureListener.contextInitialized(GlassFishConfigureListener.java:46)
	at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1667)
	at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:368)
	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:294)
	at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
	at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)


I found out that there's a bug in Richfaces or higher with JSF 1.2_07 or lower when deploying to WAS 7. I reverted my Richfaces to 3.3.1.GA instead of 3.3.3.Final, upgraded my web app's JSF reference implementation to JSF-1.2_12 and it worked.

Bug Village by Glu

Today, I installed BUG VILLAGE in my Android. It is a very cute and addictive game wherein you are in a virtual village building and nurturing ants and bees. Download it now! :)

Sunday, August 21, 2011

Trying out Mail2Blogger

This is just a test. :)

What If...

Today, I have come to think what if I followed my grandmother's instruction to take Nursing as my college course. What would I be today?