Skip to content

Tag: web-applications

Java Simple Email Program in Eclipse

I want to make a simple program where you can send email from the Command Line. I found this tutorial, ‘ http://www.tutorialspoint.com/java/java_sending_email.htm ‘, however the downloads don’t. So where can I get JavaMail API and Java Activation Framework (JAF) and how would i put it in my …

Are static setter/getters allowed?

I am develoing a Web Application, in that there is a utility method named getData() which I made it as a static. Until now its fine, but this static method named getData() needs some data from setters and getters. So now my question is can we make setter/getters as static? Answer If your properties are static…