Skip to main content

Posts

Showing posts with the label Programming

Java Mail on Jboss 7 or above

Learn how to work your Java mail on Jboss 7. Most of the people have implemented Java mail for system updates or system notification using SMTP protocals and java mail was working fine on jboss 5 and  jboss6 then why the same code is not working with Jboss7 because the jboss 7 architecture completely changed for making the server bootup fast. All you have to do is add the latest Java mail 1.4.4 jar in the modules and also you have add the javax.api into your java mail module.xml Step by step procedure for you 1. Navigate jboss-as-web-7.0.0.Final\modules\javax\mail\api\main 2.Stop the server if it running 3.Remove the existing java mail jar and find the java mail 1.4.4 jar on the internet and put it in same directory where you deleted the existing version java mail jar 4.Now open the module.xml file in some note editor like notepad or notepad++ 5.Add new module name javax.api like this  under the dependencies ...

How to install eclipse in Linux OS

Eclipse is an open source community and its IDE(Integrated Development Environment or Integrate Debugging Environment or Integrated Design Environment)is the best application for Developing Enterprise Application,Mobile Application,Hibernate Pojo and Google Web toolkit Application. How to install Eclipse IDE In Linux Operating System 1.Download your favorite Eclipse version either Galileo or Helios 2.Unrar the downloaded file to your favorite application 3.Go to Eclipse Directory and find the eclipse.ini file 4.Open the file and find the location line which defines the exact path of eclipse JVM(Java Virtual Machine)- JDK(Java Development Kit) Library in order to run the eclipse IDE. 5.Now change the location line to your JDK Library path which will be located in normally(/usr/lib/jvm/jdk-version/bin) 6.Click the eclipse.sh file to run your eclipse IDE if it shows an error, then open the property of that file and change the permission under the property tab of Permission(i.e.,Allow this...