Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Friday, October 26, 2007

NYP's syllabus outdated

just finished installing the latest version of Glassfish (Sun SAS v9.1) on my server - it's a notch up from v9.0. Together with Netbeans v5.5.1 the dice example seemed alright, although the latter was created in Netbeans v5.5.

after my exams i'd consider deploying the aHRM system on my server. I think it will be alright.

let us consider the release periods of EJB and .Net specifications:
- EJB 1.0: Mar 1998
- EJB 1.1: Dec 1999
- EJB 2.0: Aug 2001
- EJB 2.1: Nov 2003
- EJB 3.0: May 2006

- .Net 1.0: Jan 2002
- .Net 1.1: April 2003
- .Net 2.0: Nov 2005
- .Net 3.0: Nov 2006

why is NYP still using the 4 year old EJB 2.1 for instruction? SIT is supposed to be the latest in adopting new technologies; the use of EJB 2.1 is embarrassing. Back in 2002, i still remember the push to learn .Net although it was in 1.0 Beta. What has happened to the management now?

EJB 2.1 is outdated; i don't see the need for students to be learning it unless the aim is to support companies that are using older J2EE applications. Furthermore over at the .Net side, major project modules are already at .Net v2.0.

EJB 3.0 is way enhanced by removing the technicalities off programmers.

last year when i was reading CS2261, A/P Danny Poo was teaching us based on the EJB 2.1 spec. After that, he migrated the teaching materials to EJB 3.0 - the following book he published based on the new EJB spec is 50% thinner! That's a sign that EJB 2.1 is excessively laborious and induced much of the hair pulling last year.

those doing Jedev should boldly suggest to use a later EJB version - it saves you trouble and time understanding EJB 2.1. If the lecturer refuses, feedback the suggestion in course feedback system. Things have to change somehow. I shall find a chance to speak to somebody who can help me understand the rationale behind teaching an outdated module too.

Thursday, August 9, 2007

improvement on Portfolio, module bidding goes cranky, chilling out

Studies and Customer Portfolio
i missed the workshop for a few days now.... i'm sorry mates. I'm aware of this problem and will need serious work on this attitude of mine.

Kay found a simple bug in my Customer Portfolio application - a simple malicious exploit by entering '&' in my text fields would break it and cause an Error 500 -.-"

so i introduced a simple method to substitute illegal characters such as &, *, <> to legal ones, such as '&'etc.

and then adding exception handling into my processing JSP to gracefully catch Error 500s, then print out a stack trace.

the next and hopefully final bug fix is reducing the success of SQL Injection techniques by using PreparedStatements. These are all nice and good-to-have foundation to be used for CS3214's airline project.



NUS CORS goes crazy for gems
i have no idea why, but students always like jewels from NUS, the GEMs.

GEMs = General Education Modules.

while my batch has a slight edge since we aren't freshies anymore (our funds in our general account are around 1100 points), we have those ultra old birds who show hand by placing their fortunes into the GEM they're after.

most GEMs are oversubscribed by tens to hundreds of places, and the highest bid point across all the GEMs in this round (2A), can be as senseless as 2300 points! And that happened unfortunately to the GEK1531 that i'm bidding for!!!

how to match the bid when i have only 1100 points!? Can freshies even take the heat with measly 350 points in their coffers?

anyway, i got the module. Will only know the exact damage when the next round opens, since all successful bid deductions are based on the lowest successful bid offer. I walloped 1011 points before the bid went into closed mode. Sounds confusing eh? It's alright. Only those in the game will understand the pain.


Chilling out
actually it was just a makan and kopi session. Saw Pasta de Waraku at Marina Square; it is interesting, but i have to try it to know whether it's on par with its sister restaurant.

The BBQ chicken was quite nice, but tasted kinda over marinated

New spinoff from Waraku, the Japanese restaurant you'd die for a meal

The price is might be a shocker to some. But if the standard is equally good.....

went to Millenia Walk's coffeebean for my favourite ice chillies, while doing the 2nd installment of travel planning with HK and Simon. The list is more comprehensive than last week's, but it is also messy. Will have to sort them out later.