Vivek Agarwal’s Portal/Java Blog

An IBM Gold Consultant’s weblog about IBM, Lotus, WebSphere, J2EE, IT Processes, and other IT technologies

Archive for the ‘Java’ Category

Part 2: Does the Microsoft Outlook process not die when you close Outlook?

Posted by Vivek Agarwal on June 10, 2010

Sometime back I had blogged about the Outlook process not exiting when I closed Outlook, and while that posting covered one scenario (corrupted PST files) that can cause this issue, for the last few weeks I had been afflicted by this issue and scanpst was not the answer. I had suspicions about my Avast anti-virus add-in as in the past I have had issues with Outlook failing to exit due to an add-in, and that was an AVG add-in. However, turning off the Avast add-in did not help. Today, I just about had it with this issue and decided that I absolutely had to get to the bottom of it. So, I started disabling each of my Outlook add-ins one by one, and sure enough found the culprit!

Read the rest of this entry »

Advertisements

Posted in Java | Tagged: , , , , , | 6 Comments »

A controversial topic – exception handling approach …

Posted by Vivek Agarwal on April 27, 2010

Recently a client asked me to put together a short write-up on my preferred Java exception handling approach, and I figured I could blog about it as it has been a WHILE since I wrote anything on my blog! Now exception handling is one of those controversial topics that has the Java world split on checked/unchecked exceptions, and I certainly have an opinion about it. So here come my opinions! 🙂

  • Prefer unchecked versus checked exceptions in general

More often than not, clients are not in a position to handle exceptions, and either end up declaring all checked exceptions in their “throws” clause, or catching them generically and converting them into one “throws Exception” clause, or catching and converting them into a single “throws CustomCheckedException” clause. In none of these scenarios, do checked exceptions lend additional value. Checked exceptions do introduce some “versionability” issues – an earlier version of a method throws exceptions A and B, and now when you add new functionality to this method, it can encounter exception C which it cannot handle either; since checked exceptions are part of the interface, this method should not throw a checked exception C or else it breaks its contract with existing clients. Now you are stuck either converting C into an unchecked exception or modifying all clients – neither of these is a good option. Additionally with checked exceptions you can run into issues with needing to throw many exceptions because you cannot handle them within the method you are writing; once you get to a client that calls 3-4 methods each of which throw 3-4 exceptions each, you now have a client method that potentially needs to throw 12-15 exceptions – not good!

In general, most clients are unable to deal with exceptions, and hence it is preferable to make exceptions unchecked so that you do not require your clients to check for each exception. The client can choose to handle the exceptions that it knows how to handle.
  • If we encounter a checked exception in any code that we write, if we cannot handle the exception, we should in general convert the checked exception(s) from other libraries or base java libraries into an unchecked custom exception. Read the rest of this entry »

Posted in Java | Tagged: , , , , | 3 Comments »

A feather in the cap for the Xtivia team! Top honors in vendor survey …

Posted by Vivek Agarwal on December 21, 2009

A quick plug for Xtivia and all its employees including yours truly, and above all our customers! We just received the exciting news that we have been ranked the number one top rated IT consultant for customer satisfaction in The VendorRate 2009 Year End Report that was recently issued.  You can read more about Xtivia’s rankings on the Xtivia website.

VendorRate users evaluate vendors’ performance confidentially on ten specific performance criteria that include customer service, reliability, integrity, budget and effectiveness. The VendorRate quarterly report summarizes customer satisfaction ratings entered by technology professionals at the VendorRate website, trade shows, professional conferences, and virtual events. VendorRate is vendor neutral and accepts neither vendor sponsorship nor advertising.

This is certainly a reflection of our efforts in doing the right thing by our clients – we deliver quality service and results through our exceptional consultant team.

A big thank you to our customers for taking the time to submit the surveys and for giving us this recognition.

Posted in Java | Tagged: | Comments Off on A feather in the cap for the Xtivia team! Top honors in vendor survey …

IBM’s launches a new Information Led Transformation Initiative

Posted by Vivek Agarwal on October 26, 2009

I am in Las Vegas for the IBM Gold Consultant Briefing 2009 that is being held in conjunction with the IBM Information On Demand (IOD) 2009 conference. I am well into the Gold Briefing (4th day), and am suffering a wee bit from information overload as part of the IBM Information Led Transformation (ILT) initiative! 🙂 Today IBM announced its impressive ILT initiative which I see as another evolutionary step in the Information On Demand journey that was kicked off 4 years back. IBM certainly has made huge investments in this space over this period – $12B with $8B in some major acquisitions and $4B in organic R&D. And the IM portfolio certainly looks quite comprehensive with a broad range of capabilities.

The Information Stack in IBM’s words has the following pieces –

  • An Information Infrastructure comprised of software, servers, and storage that provides a foundation for your information.
  • Trusted Information gives you a single view of data through offerings that enable you to transform silos of information into a trusted, strategic asset that is shared across your organization.
  • Business Analytics and Performance Management enables you apply analytics to optimize your business through better decisions by providing planning, budgeting, forecasting, measuring, monitoring, reporting and analysis capabilities.

With IBM, you can never have enough brand names and enough churn in product names, to make staying on top of things a challenge! IBM has it all – the newer Optim, FileNet, InfoSphere, Cognos, SPSS, ILog solutions; the more traditional Db2, Informix, CMOD products; and the cloud and mashup buzzwords. I think technically very impressive but I sure do wish that it was easier to stay connected with all the brand/product names!

Posted in Java | Tagged: , , , , | Comments Off on IBM’s launches a new Information Led Transformation Initiative

Xtivia launches new “Virtual-WebSphereAdmin” Service Offering!

Posted by Vivek Agarwal on September 15, 2009

I am really excited about this new offering from our business unit – the official press release went out today and I could not resist blogging about it even though I am getting a bit salesy here! As Dennis said in the press release – we have been providing remote WebSphere administration and development services for various client installations that included WebSphere Application Server Network Deployment, WebSphere Portal, and IBM Web Content Management. These services ranged from complete outsourcing of all WebSphere administration and maintenance needs, to on-demand consulting and mentoring. So, in essence, we have now codified these services that we have been offering for years, into pre-packaged offerings that make it simpler for prospects and customers to understand the value proposition of Xtivia’s remote WebSphere services.

An excerpt from the news release –

Virtual-WebSphereAdmin provides a cost-effective solution for organizations seeking to optimize the availability and performance of their critical WebSphere-based business information systems. This is accomplished through a comprehensive remote WebSphere Administration service designed specifically to meet the WebSphere administration, maintenance, management and consulting needs of our clients. Xtivia’s Virtual-WebSphereAdmin service combines a sophisticated suite of monitoring and reporting tools with expert consulting services to deliver complete WebSphere performance management.

You can find more details about this service at http://www.xtivia.com/remote-services/virtual-websphereadmin or you can go directly to http://www.xtivia.com/request-information to get in touch with the Xtivia sales team about this service. I am confident that you will find it worth your time to do so!

Posted in Java, WebSphere, WebSpherePortal | Tagged: , , , | 1 Comment »