Tuesday 24 March 2009

Improve Eclipse speed

If you have lost of memory on your system but eclipse still runs slow try increasing heap size:


http://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse%3F

Jahia 6 improvements and drawbacks

A quick look at Jahia 6


Positive


  • UI Improved quite a bit
  • Portal engine JSR 168/268 compliant
  • Fine grain user right
  • JRule in order to automate file actions based on events sent by the DMS (post processing)
  • built on top of Jackrabbit instead of Apache Slide(in old version)
  • CIFS (shared drive)
Negative

  • supports 6 languages
  • No Web service integration
  • Import/ export same(monolithic)

Monday 23 March 2009

Agile Methodology principals

There are several books written about Agile methodology and its variation, but the crux of the matter is following points:



1) Individuals and interactions over processes and tools
2) Working software over comprehensive documentation
3) Customer collaboration over contract negotiation
4) Responding to change over following a plan



Friday 20 March 2009

Cloud computing and SOA

There has been lots of Buzz lately about cloud computing, this is in fact nothing new SUN micro systems declared long ago that network is computer. In Late 90's sun micro systems visioned a day when computing power will be rented. They actively worked on Grid computing and their efforts are paying off in large projects in R&D.


The most popular and successful player in cloud computing space has been Amazon . It provides storage, computing and other features. Meanwhile Microsoft has also jumped on the cloud bandwagon and is in process of releasing cloud computing platform/OS called Microsoft Azure. Since this is cloud platform it will be hosted by Microsoft with pay-as-you go payment plan. The developer hosting applications on Azure platform would be able to communicate using standard protocols HTTP, REST, SOAP, and XML.


Some have been quick to declare SOA is dead and Cloud computing is in. In fact if we examin cloud computing it is in fact an implementation of SOA. In cloud computing you are exposing Data services and custom business services running on rented infrastructure.

One must not confuse Cloud computing from Utility computing. The later is about providing on-demand infra structure where as cloud computing is about building applications on computing services hosted by cloud provider.







Cloud Computing in Plain English

Thursday 19 March 2009

Liferay document management part2

Further to my earlier post. I had a discussion with a Large vendor with lots of experience in Liferay, trying to sell liferay and it further cleared liferay is very strong on UI front as you could design just about any UI in portlets.

  1. However it would require customization of document portlet to provide role based access and other features.
  2. Again if we require document conversion it could be done through customized portlet
  3. To provide document conversion in the background have a servlet that pools the directory (Really crapy solution)
  4. To do filling of documents based on meta data, have a corn job or windows schedule (error prone)
  5. Template application through Apache POI API
  6. There is a provision to use open office for document conversion, but i have not tried it out


Hmm my conclusion is why use liferay kick start java code, if i dont need liferay UI or its workflow?


Wednesday 18 March 2009

Liferay as Document Management

In my previous post i highlighted strengths of Alfresco as document management tool. One might be tempted to use Liferay on its own as document management. This may serve well if your requirements are very basic, as saving to particular folder structure. for anything serious its recommended to use liferay with Alfresco.

Below are some key point

  1. Liferay Document management is pretty basic. It provides repository that you can add document to, remove document or upload a new version.
  2. There is a portlet to display documents (with a preset set of properties that you can only configure by changing the code). If you need more things out of doc. management you would better off with Alfresco.
  3. A common way to use Alfresco with Liferay is to manage the content in Alfresco and have workflows that publish the content to some type of file store from which Liferay can pull the content. The main reason for doing this is to be able to use Alfresco's CIFS and WebDAV interfaces, which are really useful and not matched by Liferay's broken webdav implementation. In the future, the processing rules you can attach to a folder in Alfresco will also be useful, and are not present in Liferay

Document management Alfresco Jahia and SharePoint

I did some comparison on document management systems available against client requirements which were standard document management features and ability to integrate in SOA mix.

Below is a feature comparison between Alfresco, Jahia, and Sharepoint


Alfresco

Jahia

SharePoint

  • Virtual File System

WEBDAV Support

Collaboration happens via WEBDAV only

WebDAV, virtual file system

  • Open Search Integration ( Lucene based)

Apache Lucene based Text Search Engine

Open Search

  • Automatic meta-data extraction and rules application

Limited meta data extraction from files

Automatic Meta data extraction

  • Interfaces - Web & Desktop Clients Webdav, CIFS,FTP Support, REST and Web Services

WebDAV Support

WebDav, Web services, File system

  • Automatic format conversion using open office service

Format conversion support

Format conversion service available also ability to use custom doc conversion service

  • Support JSR 168,JSR 170,JSR283,JSR 127

Portal support (JSR 168),JSR 170

WSRP port-lets consumer out of the box. Provider using customization/third party tools

  • Smart Spaces

n/a


n/a


  • Email–Like Rules

n/a

Yes

  • Kerberos

n/a

yes

  • User Presence In future

NO

User presence

  • Limited

?

Email integration



Tuesday 10 March 2009

synchronize bookmarks

Ever faced a situation where you read a great article over the weekend, you bookmarked it as well, but forgot to mail yourself and suddenly there is a urge to read it at work?

A great add-on for firefox that keeps your bookmarks synchronized across computers. check out

http://www.foxmarks.com/ 

schema xs int versus integer versus positive integer

xs:int is a signed 32-bit integer,whereas xs:integer is unbounded in terms of bits. positive integer allows values greater than zero, if you are using it to represent primary key one would go with positiveinteger.

Friday 6 March 2009

World clock add on for firefox

Here is neat plugin for fire fox that will place world time in status bar. check it out:

FoxClocks :: Firefox Add-ons





Wednesday 4 March 2009

online UML Sequence diagram utility

My friend forwarded me this utility which is pretty cool but i don't think it can replace staple UML tools. It kinda reminds be on online text editors about year or two ago.

check it out:

Web-Based UML Sequence Diagram / MSC Generator


Also see umlet a open source UML tool. This is also available as eclipse plugin

http://www.umlet.com/


A standalone open source UMl tool

http://sourceforge.net/projects/staruml/


Tuesday 3 March 2009

Oracle ESB IMAP error

When trying to connect to imap server on port 143 i was getting following error

com.sun.mail.iap.ProtocolException: No login methods supported!


It happens to be that exchange server was running on SSL on port 993. when i change the port to 993 it just times out and gives following error


com.bea.wli.sb.transports.TransportException: Connection reset
        at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute

 i will update this post when i have a solution

Oracle ESB Send email via smtp

To send email from Oracle esb you need access to smtp server. There are broadly two steps

  1. Define SMTP server
  2. Create a business service with message type text. In transport select email and select smtp server defined in step 1

Thats it and now you should be able to send mail from bus.








Also check out chris blog for sending email with attachment