Pages

Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Sunday, November 17, 2013

Eclipse Sublime Text 2 Theme (Dark Theme)

I always like black background on my text editors while programming and working with console. Now a days, most of my time (and life) is spent with Eclipse in writing Java and Python code. For a long time, I was dreaming about Eclipse should be like Vim (or) Emacs. But recent days I like Sublime Text very much just because its theme and easy of use without knowing the keyboard shortcuts. Few days before there was a tweet which triggers me to start searching about Eclipse dark theme. Oops. There are lot of questions in StackOverflow points me to variety of solutions. I was trying to install lot of plugins from different sources. Some of them are not compatible with my Eclipse version(4.2) and most of them are not fit to my needs.

Finally found an interesting stuff from eclipsecolorthemes.org/ which is exactly what I was looking for a long time. It's the theme of Sublime Text 2. No plugin needs to be installed. Here are the steps to install and activate the same.

  1. Download the EPF from http://eclipsecolorthemes.org/?view=theme&id=66 
  2. Open your Eclipse, Import -> Preferences and choose the downloaded EPF file.
That's all. You are done. Here is how my Java and Python code area looks now.




Monday, November 9, 2009

Difference Between JAR, WAR and EAR files

All these JAR, WAR and EAR files can be created using JAR tool.

JAR (Java ARchive) contains
  • Library Class files
  • Resource files
  • Property files

WAR (Web ARchive) contains
  • JAR files (lib)
  • Java Class files (classes)
  • JSP, HTML, JS, CSS and image files
  • Deployment Descriptor (web.xml) and other configuration XML files
It is also called as Web Module.

EAR (Enterprise ARchive) contains
  • WAR files
  • JAR files
  • Enterprise Java Beans
  • Application Deployment Descriptor (application.xml) and other configuration XML files

EAR contains the complete enterprise application which consists of one or more web modules.

Note: Tomcat deals only with WAR files. If you want to install EAR files, use Apache Geronimo

For more details, refer http://www.javaworld.com/javaworld/jw-01-2008/jw-01-tomcat6.html?page=2

Tuesday, May 19, 2009

Monday, May 18, 2009

Which Language is best for writing Linux Distro's and Applications?

The simple article from brighthub considers three popular programming languages C, Python and Java and discusses their own strength and weakness. Finally the author says that Java is the best choice.

Read out more @ http://www.brighthub.com/computing/linux/articles/34968.aspx

Sunday, May 17, 2009

JChassis - Framework for small Java applications - Do simple things simply

  • It is a framework for simple Java applications
  • The size of this framework is less than 100KB
  • It can run in Java runtime as well as J2ME Foundation Profile
  • It is NOT a web application framework
You can download it @ http://jchassis.sourceforge.net/