QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

Can I use Coverlipse on a project that uses Java Commons Logging?

Coverlipse FAQ
Long answer: Java Commons Logging introduces a classloader hell that is discussed to some extend by the author of Log4J here and here. Thus, Coverlipse adds the Java Commons Logging package to those handled by the system classloader. This way, projects that use Java Commons Logging can be tested with Coverlipse. However, it is not possible to test the Java Commons Logging itself with coverage by Coverlipse. Again, this is a problem occurring only with Eclipse 3.0.

How do I use Jakarta Commons Logging and Simple Logging Facade for Java API?

x4juli - Extensions for the java.util.logging implementation
This is an x4juli FAQ. Please have a look at the project pages for their documentation regarding usage in user code.

How do I configure Jakarta Commons Logging to natively use x4juli ?

x4juli - Extensions for the java.util.logging implementation
Second part: You have to make Jakarta Commons Logging use the x4juli JCLFactory. There are two possibilities: Specify a system property on your jvm startup (script): -Dorg.apache.commons.logging.LogFactory=org.x4juli.JCLFactory or put in an commons-logging.properties file in your classpath with org.apache.commons.logging.LogFactory=org.x4juli.JCLFactory property line in the file.

How do I configure Simple Logging Facade for Java (slf4j) to natively use x4juli ?

x4juli - Extensions for the java.util.logging implementation
x4juli delivers all necessary classes as specified on http://slf4j.org/faq.html section "Implementing the SLF4J API". You simply have to remove all sl4fj-xxxxx.jar from the classpath.

edit] If I start my own commons wiki, how do I set it up, so that my other wikis can use its media?

MediaWiki FAQ - Meta
Have a look at mw:Help:Configuration settings#Shared_uploads or Help:Wiki family for detailed information --Produnis 09:50, 16 April 2006 (UTC)

Can I use Java's built-in hashtable?

CS 241 Frequently Asked Questions (FAQs)
clearly indicated in class, you may NOT use Java's hashtable class. The goal of this lab is for you to write your own hashtable class.

What version of Java™ should I use?

HANDLE.NET FAQs
The client and server software need Java 1.4.2 (or higher). The servlets require the Java Servlet library which is available from Java.com in the Java Enterprise Edition (J2EE), or via downloading a servlet engine such as Apache Tomcat.

Is it ok to use the same cartridges for all uses?

The Airpen® Frequently Asked Questions
No. Use separate cartridges to prevent cross contamination. Additional cartridge kits are available, click here.

I have an existing Java program that I want to use with J#. How do I add it to a project?

Computer Science Teacher - Thoughts and Information from Alf...
One way is the create a new J# Console project, delete the Class1.jsl file from the Solution Explorer, and select Add Existing Class from the Project menu. Use the browse function in the dialogue box to find your existing file and click on the Open button. Set your new class, assuming it has a main method, as the startup object. Edit, compile and run your program as usual. Visual Studio 2005 includes Swing functionality for use with Visual J#.

I am familiar with Jakarta Commons Logging and/or slf4j. How is the relationship?

x4juli - Extensions for the java.util.logging implementation
x4juli provides a native implementation for org.apache.commons.logging.Log interface and for the org.slf4j.Logger interface. x4juli uses the standard way of each facade to implement the corresponding factory. In case of Jakarta Commons Logging you still have to use the originally provided jar and put an config entry in the right place (System property or config.file). In case of slf4j you have to do nothing but remove all other sl4fj-xxxxx.jar files from the classpath.

Why use Log::Log4perl instead of any other logging module on CPAN?

Log::Log4perl::FAQ - Frequently Asked Questions on Log::Log4...
That's a good question. There's dozens of logging modules on CPAN. When it comes to logging, people typically think: ''Aha. Writing out debug and error messages. Debug is lower than error. Easy. I'm gonna write my own.'' Writing a logging module is like a rite of passage for every Perl programmer, just like writing your own templating system. Of course, after getting the basics right, features need to be added. You'd like to write a timestamp with every message.

What Java packages do I need to use to write a client?

Google SOAP Search API
Everything you need to get started is in googleapi.jar. Advanced users may prefer to use their own Java SOAP implementations and use the WSDL file to generate client code.

Are the Java Foundation Classes easy to use?

Java Foundation Classes (JFC)
Not being a port from a different environment, the Java Foundation Classes conform 100% with Java's object and component model. Developers find JFC a very easy and natural extension to the Java Platform.

Which viewer should I use? Default, plug-in, or java?

FAQ (Frequently Asked Questions) - Cartographic Connections
It depends on what you want to do. Most people will have a satisfactory experience with the default viewer (the one that pops up when you click to see a zoomable image). If you are an experienced web user, you may like the smoother panning available with the java and plug-in clients. If you want to rotate the images you will need to use the plug-in.

Back Why should you use Java?

Data Representations: Support
Java is a computer programming language that was developed by Sun Microsystems. It runs on many types of computers, servers, cell phones, PDAs, set tops and now Java Cards. Its best attributes are built in security and cross platform portability. Experienced Java programmers are entrenched with a religious passion that there is no other way. By programming in Java an application is designed for multiple platforms. Most of today?s platforms are designed to use the Java standard.

Why should I use XWT instead of writing a Swing Java Applet that uses SOAP/XML-RPC?

Microsoft omitted the MSJVM from Windows XP, and many XP machines do not have Service Pack 1 (which reintroduces the JVM). Installing the Java2 plugin is cumbersome, complex and requires a 15MB download, compared with XWT's one-click launch and slim 500kb download. Writing applets requires a real programmer -- somebody familiar with computer science. XWT user interfaces, on the other hand, can be developed by designers with little programming experience.

Can I use Java Web Start even if my application depends on or uses native code?

Java Web Start - Frequently Asked Questions (FAQ)
You can use Java Web Start to deploy Java Technology-based applications that depend on native code such as DLLs and SOs. Use the <nativelib ...> element to specify required native libraries. See the Developer's Guide for details. Java Web Start uses a user-level classloader to load all the application resources specified in the JNLP file. This classloader implements the security model and the downloading model defined by the JNLP specification.

My website uses static HTML, can I still use your service?

Frequently Asked Questions
Maybe. If your website uses the Apache web server (as most Linux/UNIX hosting packages do), you can instruct the web server to treat .html (or .htm) files as PHP. To accomplish this, create a file named ".htaccess" in your root directory and add the following to it (or append it to the bottom of the file, if it already exists): AddType application/x-httpd-php .html (Note: if you use ".htm" files, replace the ".html" above with ".htm")

Can I use TiSP if my home uses a septic system?

Frequently Asked Questions
Sorry, but no -- TiSP requires the use of a central sewer system to connect your home to the Internet.

Who uses your system and what do they use it for?

Beyond, Inc. - Frequently Asked Questions
Our systems are being used by videographers, editors and producers in a number of fields and for many applications:
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact