Seam Mail
------------
Background :
Resetting user password requires the application to send the new password through email to the user.
Lesson :
I use seam in my current project, and lucky for me seam has mail support. See my blog here for details.
Seam file upload
--------------------
Background :
Need to store the uploaded image from user.
Lesson :
Interesting and an easy way to receive image/file uploaded and put it in some storage. See my blog here for details.
Seam graphic image control
---------------------------------
Background :
Need to render the image stored in some storage.
Lesson :
Failed, I'm using seam 1.2.1.GA, giving the control the byte data, the image is somehow not found by the browser. I've to create a servlet to retrieve the image and return it to the browser manually.
Monday, October 15, 2007
Web Beans, Naked Object (Lesson #2 : 2007/10/09)
Web Beans
-------------
Background :
mail from theserverside.com
Lesson :
New framework again :)
Just skimming through the article, will read it later. Hopefully I will learn something from this framework.
Naked Object
----------------
Background :
mail from theserverside.com
Lesson :
I've heard about it before, some interesting idea but still have to really look into it. Again, hopefully I will learn something new from it, not just using it plainly.
-------------
Background :
mail from theserverside.com
Lesson :
New framework again :)
Just skimming through the article, will read it later. Hopefully I will learn something from this framework.
Naked Object
----------------
Background :
mail from theserverside.com
Lesson :
I've heard about it before, some interesting idea but still have to really look into it. Again, hopefully I will learn something new from it, not just using it plainly.
Monday, October 8, 2007
Using workdays in excel, using httptunneling, seam configuration in ear, determine your future baby's sex (Lesson #1 : 2007/10/08)
Using workdays
------------------
Background :
Previous schedule created always calculate the date for the next task manually, sometimes we forgot that saturday & sunday shouldn't be taken into account.
Lesson:
A column is used to fill how many days are required to finish the task, the formula to calculate the date when the next task should begin is :
=WORKDAYS(prevTaskDate, mandays)
as simple as that.
Using HttpTunneling
-------------------------
Background :
My friend can't connect to a server using ssh (blocked by his server).
Lesson :
The idea is simple, run httptunneling in the server to forward data from port 80 (http) to port 22 (ssh) and run httptunneling in the client to forward data from port 22 to 80.
In theory, it should work but... have to investigate it later :)
Seam configuration in ear
------------------------------
see my post in .....
Determine your future baby's sex
--------------------------------------
Background :
None
Lesson :
In short, there are two kind of sperms which determine the baby's sex, namely X and Y. Y for male, X for female. Some factors determine which sperm will reach the egg first (and it'll win of course :). See this link for details :)
------------------
Background :
Previous schedule created always calculate the date for the next task manually, sometimes we forgot that saturday & sunday shouldn't be taken into account.
Lesson:
A column is used to fill how many days are required to finish the task, the formula to calculate the date when the next task should begin is :
=WORKDAYS(prevTaskDate, mandays)
as simple as that.
Using HttpTunneling
-------------------------
Background :
My friend can't connect to a server using ssh (blocked by his server).
Lesson :
The idea is simple, run httptunneling in the server to forward data from port 80 (http) to port 22 (ssh) and run httptunneling in the client to forward data from port 22 to 80.
In theory, it should work but... have to investigate it later :)
Seam configuration in ear
------------------------------
see my post in .....
Determine your future baby's sex
--------------------------------------
Background :
None
Lesson :
In short, there are two kind of sperms which determine the baby's sex, namely X and Y. Y for male, X for female. Some factors determine which sperm will reach the egg first (and it'll win of course :). See this link for details :)
Subscribe to:
Posts (Atom)