Hi Hassan,
Yes, you CAN ...
Here it is (abstracted from the chapter 3: ServiceBuilder and Development Environments )
IDE
Why do we need IDE? IDE or Integrated Development Environment provides
comprehensive facilities for software development. An IDE normally consists
of a source code editor, a compiler, an interpreter, and a build automation tools
debugger. Of course, you can develop portlets in Liferay portal without using any
IDE. But an IDE is designed to maximize programmer productivity by providing
tightly-knit components with similar user interfaces. Thus we plan to use an IDE.
Optionally, there are a set of IDEs you may choose from—Eclipse IDE,
NetBeans IDE, and IntelliJ. You may use IntelliJ IDE—a commercial
Java IDE
(which includes coverage across languages and technologies), a deep and intelligent
editor, code analyzer, and refractor, all of which
boost user productivity. Refer to
http://www.jetbrains.com/idea/ for more information.
NetBeans, a free, open source IDE, includes professional desktop, enterprise,
web, and mobile applications with the Java, C/C++, and Ruby. Refer to
http://www.netbeans.org for further information. In addition, you may use
the Portal Pack to make portlet development easier in NetBeans. Refer to
http://portalpack.netbeans.org/ for more information.
As an IDE, Eclipse (and / or MyEclipse plugins) is a software platform comprising extensible application
frameworks, tools, and a runtime library for software development and management,
written primarily in Java. Refer to
http://www.eclipse.org for more details.
Logically, you could choose any IDE. For our example, we will choose Eclipse IDE.
We are going to use Eclipse IDE for development, customization, deployment, and
debugging custom code based on the Liferay portal.
Books:
Liferay Portal 5.2 Systems Development
Liferay Portal 5.0 Enterprise Intranets