Skip to main content

Posts

Process Explorer

I can not recall how  many times when I tried to delete some files, it said, the file is using by other application. Then, it did not give  any clue about who is occupying it. The ' Process Explorer' could have saved me days.  So, enjoy it. http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

iBatis and Hibernate

iBATIS is a persistence framework which automates the mapping between SQL databases and objects in Java, .NET, and Ruby on Rails. The mappings are decoupled from the application logic by packaging the SQL statements in XML configuration files. iBATIS Design Philosophies: iBATIS comes with the following design philosophies: Simplicity:  iBATIS is widely regarded as being one of the simplest persistence frameworks available today. Fast Development:  iBATIS's philosophy is to do all it can to facilitate hyper-fast development. Portability:  iBATIS can be implemented for nearly any language or platform like Java, Ruby, and C# for Microsoft .NET. Independent Interfaces:  iBATIS provides database-independent interfaces and APIs that help the rest of the application remain independent of any persistence-related resources, Open source:  iBATIS is free and an open source software. Advantages of IBATIS Here are few advantages of using IBATIS: ...

Tomcat and JVM

JVM is Java Virtual Machine, a memory space where classes (code) are loaded and objects (data) are shared. JVM is equivalent to an Operating System process. When you type  java...  in you command line you are executing an independent process that loads Java classes in memory, the base classes from Java and yours (from the .class files or .jar you indicate). Another  java...  command will load a different process with its own memory and will load classes by itself. Instance word confusion : when you say 'two instances of the same JVM'. It's usual to say instance of a JVM to a separate process, it is, to a loaded independent JVM. If you are saying: two process are running JVM 1.5, OK, it's the same JVM in the sense it's the same version but they are different processes, different 'instances', independent in all sense. Webapp confusion:  A webapp (by example) is simply a bunch of classes and objects instantiated, attending some URL in a web server. You...

Eclipse Linked Source - The benefit of using it

In project, the developers might have to worked on different version of the project. For example, they might be working on version 10, and have to patch and test  version 9 or 8 as well. The normal way of could  be create multiple eclipse projects and switch from one to one. The result is not that bad, you just need to  import the version into Eclipse and work on that.  Still, you have to bear with multiple projects in your eclipse and live with it. I personally don't like that very much. With the Linked source function, you just need to edit the path of the source switch  from different version and test them. You don't have to do other things with eclipse any more. So, your Eclipse UI is clean now.