Thursday, July 26, 2007

Harry Potter Parody

Harry Potter parody is a funny video provided by one of the my older co-workers Gabriel Guerrero. Here you have the video.



I hope to enjoy it. It's really funny.

Monday, July 23, 2007

How you can improve your English Skills

Sometime ago, I've been interested on improve my English skills, specially the Listening and Speaking Skills. To improve Listening skill, I've found a famous page called ESL Pod. On this page, you can find a lot of podcasts which include short conversations about Business, Transportation, English Cafe, Daily Life and much more. Some of these podcasts include a Learning guide which you can read while you're listening the podcast. Also, you can become an ESL podcast member, but you have to pay $10 per month (That is not good for me) to get more information about podcast transcripts, vocabulary, extra explanations, so on. You can use iTunes software to download most of these free podcasts.

About Speaking skill, you can use Skype Software to contact foreign people interested on improve their English Skills.

I hope to enjoy it. Have fun!!!

Wednesday, July 18, 2007

JavaDocs Generator Tools

Since this week starts, I've been searching a tool to generate JavaDocs on JIRA confluence Wiki Markup format. There are a lot of tools that generate JavaDocs in HTML, RTF and PDF formats, but for the moment I haven't found any tool that can make that for me. Though, there is a tool called Doxygen which generates documentation system for C++, C, Java, Objective-C, Python, IDL and to some extent PHP, C#, and D. In addition to JavaDocs generated, this tool can generate Inheritance diagram and Collaboration diagram of all the classes that you have in the projects. You can also integrate this tool with Maven framework.

Thursday, July 12, 2007

How to Enable SSL for OC4J on local server

  1. The first that you need to know is the path of the configuration directory of your OC4J instance. You can check that when your OC4J instance starts. See the following image.

  1. Open a prompt command and go to OC4J config directory. Here you will use SUN’s keytool to create the certificate. Type the following command line as it’s shown on the following screen shot.
  1. When you execute the command line, a couple of question will be prompted by keytool. Answer these questions as you please. A new file is created in the current directory (its name is sslfile) See the following screen shot

  1. If you don’t already have a secure-web-site.xml file in your OC4J config directory, create one by copying the existing http-web-site.xml and renaming the copy to secure-web-site.xml
  1. Edit secure-web-site.xml and add the following:
    1. Add secure=”true” to the website element.
    2. Use an available port. The default for SSL is normally 443, but you have to be a super user to use it, I therefore used (4443)
    3. Add the following lines inside the web-site element use the keystore name and password you used when creating the certificate.

The files should look like this:

  1. Edit the server.xml file and uncomment or add the following line:

  1. Save the changes. The server.xml file should look like this:

  1. Restart OC4J. Now OC4J will listen for both SSL request (port 4443) and non-SSL requests (port 8990). In my case the urls would be:
    1. http://localhost:8990/AppName/Index.do
    2. https://localhost:4443/AppName/Index.do

RSS Technical notes

RSS (which, in its latest format, stands for "Really Simple Syndication") is a family of web feed formats used to publish frequently updated content such as blog entries, news headlines or podcasts. An RSS document, which is called a "feed," "web feed," or "channel," contains either a summary of content from an associated web site or the full text. RSS makes it possible for people to keep up with their favorite web sites in an automated manner that's easier than checking them manually.

The initials "RSS" are used to refer to the following formats:

  • Really Simple Syndication (RSS 2.0)
  • RDF Site Summary (RSS 1.0 and RSS 0.90)
  • Rich Site Summary (RSS 0.91)

RSS formats are specified using XML, a generic specification for the creation of data formats.

RSS Elements

An RSS document consists of the following elements (On this document were named the most important).

  1. RSS: The rss element is the top-level element of an RSS feed. A feed that conforms to the RSS specification must contain a version attribute with the value "2.0". This element is required and must contain a channel element. The rss element must not contain more than one channel.

1.1 Channel: The channel element describes the RSS feed, providing such information as its title and description, and contains items that represent discrete updates to the web content represented by the feed. This element is required and must contain three child elements: description, link and title.

1.1.1 Description: The description element holds character data that provides a human-readable characterization or summary of the feed (required).

2.1.1 Link: The link element identifies the URL of the web site associated with the feed (required).

3.1.1 Title: The title element holds character data that provides the name of the feed (required).

4.1.1 Item: An item element represents distinct content published in the feed such as a news article, weblog entry or some other form of discrete update. A channel may contain any number of items (or no items at all). An item may contain the following child elements: author, category, comments, description, enclosure, guid, link, pubDate, source and title. All of these elements are optional but an item must contain either a title or description.

4.1.1.1 Author: An item's author element provides the e-mail address of the person who wrote the item (optional).

4.1.1.2 Category: An item's category element identifies a category or tag to which the item belongs (optional).

4.1.1.3 Title: An item's title element holds character data that provides the item's headline. This element is optional if the item contains a description element.

4.1.1.4 Comments: An item's comments element identifies the URL of a web page that contains comments received in response to the item (optional).

4.1.1.5 Description: An item's description element holds character data that contains the item's full content or a summary of its contents, a decision entirely at the discretion of the publisher. This element is optional if the item contains a title element.

4.1.1.6 Link: An item's link element identifies the URL of a web page associated with the item (optional).

Java API to make RSS

A Java API was found to construct the RSS in whatever of its versions. The name of the Project is Informa. This API is an Open Source Code.

Informa we enable you with a harmonized view on a news channel object model. Both channels and news items do have metadata assigned, it does not make any difference from which channel format they were originally retrieved (RSS 0.9x, RSS 1.0 / RDF, RSS 2.0, Atom 0.3 and Atom 1.0). Informa is in beta state, but it is quite stable and fully usable.

For more information

http://www.rssboard.org/rss-profile

http://informa.sourceforge.net/

Wednesday, July 4, 2007

I got it SCJP book (310-055)

Since today, I will start to study SCJP certification (Exam 310-055). I bought the book on amazon page and my friend Luis Alejandro brought it from USA. I hope to take the test in the end of this year.