Search 5,000,000+ questions and answers.

Frequently Asked Questions

Can I use AspectJ with Generic Java?

AspectJ Frequently Asked Questions
But at this time, unfortunately not. The two compilers are just not at all compatible. In an ideal world, there would be a wonderful Open Source extensible compiler framework for Java that both GJ and AspectJ would be built on top of, and they would seamlessly interoperate along with all other extensions to Java that you might be interested in, but that's not the case (yet?).
Related Questions

What Java virtual machine (JVM) do I use to run the AspectJ compiler?

AspectJ Frequently Asked Questions
Use the latest, greatest, fastest JVM you can get your hands on for your platform. The compiler's performance is dependent on the performance of the JVM it is running on, so the faster a JVM you can find to run it on, the shorter your compile times will be. At a minimum you need to use a Java 2 or later JVM to run the compiler (J2SE 1.3 for AspectJ 1.1). We realize that this constraint can be a problem for users who don't currently have a Java 2 JVM available.
Related Questions

Can AspectJ work with any Java program?

AspectJ Frequently Asked Questions
The AspectJ tools run on any Java 2 Platform compatible platform. The AspectJ compiler produces classes that run on any Java 1.1 (or later) compatible platform.
Related Questions

Will AspectJ support Java 5?

AspectJ Frequently Asked Questions
AspectJ is a registered trademark of Palo Alto Research Center, Incorporated (PARC), used with permission. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Related Questions

Can I use AspectJ with J2EE?

AspectJ Frequently Asked Questions
JSP: It is possible to use AspectJ to affect code in JSPs by precompiling them into Java sources and compiling these with ajc. This can be used, e.g., to customize displays by turning on and off custom JSP taglibs. The mapping from a given jsp source to java package and class name is not standardized, which means doing this imposes dependencies on specific container versions. EJB: AspectJ supports a wide variety of aspects for EJBs.
Related Questions

Do I have to use the AspectJ compiler?

AspectJ Frequently Asked Questions
The AspectJ compiler or weaver is required at some point, but many people can use AspectJ without changing their build or deployment process significantly. For aspects that are not required to compile, you can use the AspectJ binary weaver, run at build-time or class-load-time. You can write aspects using the original code style (which must be compiled with the AspectJ compiler) or using the annotation style new in AspectJ 5 (which may be compiled with Javac or the AspectJ compiler).
Related Questions

How can I use AspectJ with applets?

AspectJ Frequently Asked Questions
Just include the aspectjrt.jar as a required archive. For example, here is the HTML code for an HTML editor applet that contains some debugging aspects: <APPLET CODE='com.company.swing.applets.EditorApplet' WIDTH='700' HEIGHT='525'> <PARAM NAME="CODE" VALUE="com.company.swing.applets.EditorApplet" > <PARAM NAME="ARCHIVE" VALUE ="../company-applets.jar,../aspectjrt.jar,../xmlrpc-applet.jar" > <PARAM NAME="type" VALUE="application/x-java-applet;version=1.
Related Questions

What Java versions does AspectJ require and support?

AspectJ Frequently Asked Questions
The AspectJ compiler produces programs for any released version of the Java platform (jdk1.1 and later). When running, your program classes must be able to reach classes in the small (< 100K) runtime library (aspectjrt.jar) from the distribution. The tools themselves require J2SE 1.3 or later to run, but the compiler can produce classes for any 1.1-compliant version of the Java platform.
Related Questions

Do I have to download Eclipse to use AspectJ?

AspectJ Frequently Asked Questions
No. The AspectJ tools download is completely self-contained and does not require that you work in Eclipse. For information on IDE support, see Q: How well does AspectJ integrate with existing Java development tools?.
Related Questions

How does AspectJ integrate with existing Java development tools?

AspectJ Frequently Asked Questions
AspectJ products are designed to make it easy to integrate AspectJ into an existing development process. Each release includes Ant tasks for building programs, the AspectJ Development Environment (AJDE) for writing aspects inside popular IDE's, and command-line tools for compiling and documenting Java and AspectJ code. ajc, the AspectJ compiler, runs on any Java 2 compatible platform, and produces classes that run on any Java 1.1 (or later) compatible platform.
Related Questions

Is it safe to use AspectJ in my product plans?

AspectJ Frequently Asked Questions
You may use AspectJ in your product or project with little risk. Several factors play a role in reducing the risk of adopting this new technology: AspectJ is an addition to Java, and can be introduced into a project in a way that limits risk. See Q: How should I start using AspectJ? for some suggestions on how to do this. The AspectJ compiler accepts standard Java as input and produces standard Java bytecode as output. In 1.
Related Questions

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.
Related Questions

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.
Related Questions

Can I Use Generic Attributes?

Generics FAQ: Fundamentals
The following declaration is not possible. Public Class MyAttribute(Of T) Inherits Attribute ... End Class
Related Questions

I noticed the AspectJ compiler doesn't use a parser generator. Why is that?

AspectJ Frequently Asked Questions
In AspectJ 1.0, the PARSER for ajc is written by hand. This choice was made with full awareness of the generator tools out there. (Jim had for example used the excellent javacc tool for building the parser for JPython (now Jython)). One of the reasons that AspectJ uses a hand-written parser is that using javacc taught Jim about the LL-k design for parsers (pioneered by antlr). As opposed to the state-machine parsers produced by yacc, these parsers are very readable and writable by humans.
Related Questions

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.
Related Questions

Which type of Java should I use?

FAQ - GEANT2-JRA1 Wiki
Sun's java which contains JDK and JRE. You can find it @ http://java.sun.com/javase/downloads/index.jsp
Related Questions

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.
Related Questions

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.
Related Questions

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.
Related Questions

Will we ever get Java?

Answers to Some Frequent webtv.users Questions
According to posts in webtv.users from Steve Perlman, ex-president of WebTV, WebTV has been working to provide a form of Personal Java for the WebTV Plus terminal (and possibly the new Classics and Dishplayer, but nothing was said specifically about them as they were not announced products at the time of the posts)?there is no guarantee this will happen. For the full text of Steve's posts, click here.
Related Questions

How is AspectJ licensed?

AspectJ Frequently Asked Questions
AspectJ 1.1 through 1.5.1 source code and documentation is available under the Common Public License 1.0. The AspectJ 1.0 tools are open-source software available under the Mozilla Public License 1.1. That documentation is available under a separate license that precludes for-profit or commercial redistribution. Most users only want to use AspectJ to build programs they distribute. There are no restrictions here.
Related Questions

What is the AspectJ Project?

AspectJ Frequently Asked Questions
AspectJ is based on over ten years of research at Xerox Palo Alto Research Center as funded by Xerox, a U.S. Government grant (NISTATP), and a DARPA contract. It has evolved through open-source releases to a strong user community and now operates as an open source project at http://eclipse.org/aspectj The AspectJ team works closely with the community to ensure AspectJ continues to evolve as an effective aspect-oriented programming language and tool set. The latest release is 1.
Related Questions

When Can I Use Operators on Generic Type Parameters?

Generics FAQ: Fundamentals
You can use an operator (or for that matter, any type-specific method) on generic type parameters if the generic type parameter is constrained to be a type that supports that operator. For example: class MyOtherClass { public static MyOtherClass operator+(MyOtherClass lhs,MyOtherClass rhs) { MyOtherClass product = new MyOtherClass(); product.m_Number = lhs.m_Number + rhs.
Related Questions

Why should I use a generic drug?

RMHP: Rocky Mountain Health Plans
Generic drugs are therapeutically equivalent to brand name drugs, are approved by the Food and Drug Administration, and cost a lot less. Each time you purchase a prescription drug, ask your doctor or pharmacist if there is a generic offered.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact