Skip to main content

Posts

Showing posts with the label interface

OOP the point of interface

Possible Duplicate: Interface vs Abstract Class (general OO) EDIT: I just read the questions and answers to the questions from "possible duplicate" and I feel really sad that someone considers these two questions even similar... but, oh well...

Find Java classes implementing an interface

Some time ago, I came across a piece of code, that used some piece of standard Java functionality to locate the classes that implemented a given interface. I know the functions were hidden in some non-logical place, but they could be used for other classes as the package name implied. Back then I did not need it, so I forgot about it, but now I do, and I can't seem to find the functions again. Where can these functions be found? Edit: I'm not looking for any IDE functions or anything, but rather something that can be executed within the Java application.

GUI to run and deploy web application

I built java GUI interface for an Editor application , the editor is used to write java web application code , I want to add button to the editor , so when user click on the button the web application start working , and if there is an exception in the web application , all the exception is written in file ( ie. log.txt file ) Can someone help me in that Thank you very much for you