Java Performance

Switches et. al to improve Java performance

Geared towards Netbeans IDE but generally relevant for all.

facelets

Introduction to facelets

command to link svchost to services

tasklist /SVC

from command prompt.

Image Name PID Services
========================= ======== =========================================
System Idle Process 0 N/A
System 4 N/A
smss.exe 288 N/A
csrss.exe 336 N/A
winlogon.exe 360 N/A
services.exe 412 Eventlog, PlugPlay
lsass.exe 424 HTTPFilter, Netlogon, SamSs
svchost.exe 612 DcomLaunch
svchost.exe 684 RpcSs
MsMpEng.exe 740 FCSAM
svchost.exe 820 Dhcp, Dnscache
svchost.exe 864 LmHosts, W32Time
svchost.exe 888 AeLookupSvc, AudioSrv, BITS, CryptSvc,
EventSystem, helpsvc, HidServ,
lanmanserver, lanmanworkstation, Netman,
Nla, RasMan, Schedule, SENS,
ShellHWDetection, TrkWks, winmgmt,
wuauserv, WZCSVC

HTML Escaping

Quick escape
– handy tool for converting raw html to escaped html on the fly. so you can use the escaped character sequence on your pages while displaying code snippets etc.

Top five Career Management blog posts of 2009

Top five Career Management blog posts of 2009

Meaning of “Open”

The meaning of open
Keyword: Rashomon effect

To understand our position in more detail, it helps to start with the assertion that open systems win. This is counter-intuitive to the traditionally trained MBA who is taught to generate a sustainable competitive advantage by creating a closed system, making it popular, then milking it through the product life cycle. The conventional wisdom goes that companies should lock in customers to lock out competitors. There are different tactical approaches — razor companies make the razor cheap and the blades expensive, while the old IBM made the mainframes expensive and the software … expensive too. Either way, a well-managed closed system can deliver plenty of profits. They can also deliver well-designed products in the short run — the iPod and iPhone being the obvious examples — but eventually innovation in a closed system tends towards being incremental at best (is a four blade razor really that much better than a three blade one?) because the whole point is to preserve the status quo. Complacency is the hallmark of any closed system. If you don’t have to work that hard to keep your customers, you won’t.

Visit to Orlando – Disneyworld

Shared photos

Our maiden visit to Orlando. Ganesh had a lot of fun esp. since it was Christmas time and the spirit of Christmas was very much in the frosty air in Orlando 🙂 It was a long-awaited trip and we brought a ton of sweet, lovely and awe-inspiring memories back with us. “Shamu” – the killer whale show taught us to beleive in the power of ‘everything is possible’ and “Magic Kingdom” inspired us to dream big and push the boundaries of our imagination. The “bug” show was creepy and spooky but at the same time made us laugh to our heart’s content…The rides were cute and entertaining. Ganesh is fond of dinosaurs and he loved “Dino-land” the most. He’s now the proud owner of thenew addition to his toy kingdom – “Shamu – the killer whale”. The fireworks in Sea-world and Magic Kingdom was simply mind-numbing. Overall, it was worth the drive and we sincerely hope that every kid gets a chance to visit this lovely fantasy land.

Managed Bean scopes explained…

Courtesy: NetBeans

Communication between Backing beans

Before you create a bean property to store a value, you must determine the appropriate scope for the property’s value. Because many users can access a web application at the same time, you need to use the smallest scope possible to make the best use of server resources. The following figure illustrates the duration of each type of scope.

* Application scope lasts until the server stops the application. Values that you store in an application bean are available to every session and every request that uses the same application map.
* Session scope begins when a user first accesses a page in the web application and ends when the user’s session times out due to inactivity, or when the web application invalidates the session, such as, for example, by calling session.invalidate().
* Request scope begins when the user submits the page and ends when the response is fully rendered, whatever page that is.

Warning: You cannot use a request bean if you have included the <redirect> element inside the element of a navigation rule. (You see these rules when you click the XML button in the Page Navigation editor.) When the page is submitted, the <redirect> element redirects the page and ends the request before a subsequent page can use any of the values stored in the Request Bean.

ANT

ANT Basics for starters

WAS – Websphere

IBM Official site

Developing EJB Clients

Introduction to enterprise Javabeans