Evaluate Open Source Jar

Thanks for reading. How can I evaluate an open source jar?

snguyen wrote:
I want to see what's inside this open source jar I downloaded. Is there some "de-compiling" I have to do before I can see the code in my IDE?A jar file is nothing more that a container of class file(s) (and possibly more). It should be possible to open them using some sort of archive application (like Winzip, WinRAR, Ark...). Note that the source files (.java) are probably not in there, only the compiled (.class) files.

Similar Messages

  • Importing open source jar files

    Hi
    I have written a program, a Java application (Prog 1), which uses some opensource jar files and it runs fine.
    Now I am trying to create an applet (another program in same project) which will show the output from Prog 1 on a webpage.
    But when I try to do this, the applet does not get loaded into the browser and shows me the (ClassNotFound) error that a class file which is in the open source jar file cannot be found.
    why is this happening and what can be done?
    Please help.

    ... and what JAR is the class in, which it reportsas
    The jar file is htmlparser.jar, but this file is
    already added in the project classpath
    No it isn't. The run-time "classpath" is specified by what you put in the <applet> tag. It has nothing to do with the classpath you specified at compile-time. You need to add htmlparser.jar to the "archive" entity.
    archive="YahooExt.jar,htmlparser.jar"
    (if I have the correct separator, which I believe is a comma, according to this resource: http://java.sun.com/j2se/1.4.2/docs/guide/misc/applet.html)
    And of course htmlparser.jar needs to live on the web server, in the same directory as YahooExt.jar in the example above.

  • [svn:bz-4.6_Apache] 24027: Removing weblogic. jar as it cannot be open sourced.

    Revision: 24027
    Revision: 24027
    Author:   [email protected]
    Date:     2012-07-31 06:09:32 -0700 (Tue, 31 Jul 2012)
    Log Message:
    Removing weblogic.jar as it cannot be open sourced.
    Removed Paths:
        blazeds/branches/4.6_Apache/modules/opt/lib/weblogic.jar

    maybe this helps:
    => regarding <BEA-000388>: Article-ID [1065385.1] in MOS
    => regarding <BEA-090065>: Article-ID [955853.1] in MOS
    Edited by: VivaLaVida on 03.02.2011 07:42

  • DLL, jar and open source...HELP!

    So...having asked about various OCR programs etc on here, I thought I would just ask something that has been bugging me hugely. I realise I am a total newb, but could really do with some help.
    Basically, I have this problem.
    I got the Asprise OCR engine working like a treat by copying the DLL to the suggested directory and then linking the jar file to my project as suggested on here. Worked like a charm. However, Asprise OCR has an annoying trial feature that requires you to click a "No Thanks" button every time it recognizes a piece of text. Not too useful when you are trying to see how well an automated OCR app works. To buy it costs over $1000 and I simply don't have that luxury.
    So I googled free OCR engines, and came up with two open-source projects, Tesseract [(http://code.google.com/p/tesseract-ocr/)|http://code.google.com/p/tesseract-ocr/] and GOCR [(http://jocr.sourceforge.net/index.html)|http://jocr.sourceforge.net/index.html] .
    I posted a thread on here to ask how Tesseract might be used with Java, and was sent to their forum to ask my question again. However, over a week later, I still have no reply from them.
    Tesseract seems to have a DLL but no jar, so seems to not work in the same way as Asprise at all. They talk about makefiles in their documentation etc, but as a COMPLETE NEWB I am really having trouble getting my head around this.
    Basically, I think my trouble starts with the fact that I don't really understand how to use the source code to work with Java, and there really isn't much documentation on these engines.
    Could someone suggest a best plan of action for me?
    Thanks!
    Dan
    :-D

    My guess is that to have these DLL's work with your program you are going to have to learn a bit of C++ and how to use the Java JNI library. To some here, this is easy to do, but for others (me), it is very difficulty. Hopefully it will be easy for you. Best of luck.

  • Open Source tool(Jar) for multiple file/folder upload

    Hi experts,
    I would be obliged if anyone could kindly let me know some open source file/folder upload tools which can be used free of cost and source files of which could be edited and used for customization.
    Need to integrate this tool with a php site. I hope multiple folder/file upload tools are best developed and made available only in java.
    Please help with useful links to resources and valuable advices.
    Any help in this regard is well appreciated.
    Warm Regards,
    Anees

    Need to integrate this tool with a php site.
    Please help with useful links to resources andGoogle found this [http://jupload.sourceforge.net/]
    valuable advices.Try Google first before posting ;-)
    Thanks!

  • [ANN] XINS 2.1 open source Web Services framework release

    XINS 2.1 Web Services Framework has been released.
    XINS is an open source Web Services Framework based on simple specifications of the Web Service in XML and
    generation of code and documentation from the specification.
    The generation includes Client JAR with its Javadoc, Server side template with its Javadoc, documentation in OpenDocument Format,
    documentation in HTML including the test forms, WSDL file, unit tests (JUnit) and stubs.
    The Web Services accept several protocols including REST, SOAP, XML-RPC, XML, JSON Yahoo! and JSON-RPC.
    What's new:
    * Start the API with java -jar <api name>.war
    * Improved generated specification in OpenDocument Format
    * Include/exclude calling convention with ACLs
    * New calling convention that maps SOAP request and response as the wsdl2api command mapping.
    * Smaller generated build.xml
    * Added possibility to include other runtime properties files
    * The runtime property location can be a URL
    * Swing Graphical User Interface
    * New tools: emma, glean, webstart
    * New target: javadoc-test-<api name>, javadoc-apis
    * Bug fixes and small RFEs
    Download XINS 2.1:
    Windows installer: http://prdownloads.sf.net/xins/xins-2.1.exe?download
    TAR GZ archive: http://prdownloads.sf.net/xins/xins-2.1.tgz?download
    Resources:
    Web site: http://xins.sourceforge.net/
    XINS demos: http://xins.sourceforge.net/demo.html
    Documentation: http://xins.sourceforge.net/documentation.html
    User guide: http://xins.sourceforge.net/docs/index.html

    I recommend you implement your web service with JAX-WS 2.0
    Axis (both version) are good but why do you want to use something that is not included in JEE API, when Java provide same thing with better performance.
    personally try to prevent non standard technologies despite they can be better than core java implementation sometimes.
    I don't know Xfire.
    the good:
    -JAX-WS performance is better than axis,
    - you can create your web service simply with annotation.(this means write class and then make it as a service easily)
    - support every kind of service invocation(callback,Asynchronous,...)
    - architecture is nice (you can operate on SOAP level)
    the Bad:
    - It is JEE 5 or JSE 6 dependent.
    - there is seriously lack of documentation and examples for it, on java web sites and internet.

  • Legalities of modifying open source Java classes in a closed source App

    If there is a better forum for this thread please let me know. I looked and looked and couldn't find any place where it seemed to fit.
    Simply put, I want to know the legal ramifications of modifying open source Java classes which have been included in a commercial closed source application.
    The specifics are my problem with the javax.servlet.http.Cookie classes interpretation with RFC 2019 in regards to acceptable cookie names. I currently am debating that in a thread here:
    http://forums.sun.com/thread.jspa?threadID=5313146
    I am using Adobe ColdFusion which is a J2EE application server running as a servlet in Macromedia JRun. JRun parses request headers and creates instances of the javax.servlet.http.Cookie class for each cookie. (An error is thrown from the constructor if the cookie name is not accepted)
    I was able to work around the problem by modifying the code in the Cookie class, compiling it, and using jar.exe util in my SDK to update the new class into the jrun.jar file. I blogged it here:
    http://www.codersrevolution.com/index.cfm/2008/7/15/No-Cookie-For-You-Second-Solution
    My problem is I'm not sure if what I did conforms to the license for ColdFusion. Technically JRun is a closed source program I am not allowed to modify, but all I changed was a open source class from Sun. I didn't even need to decompile anything.
    I have Googled in vain, but I can't seem to find any information that applies to modifying pieces of open sourced code contained inside of a closed source application.

    bdw429s wrote:
    "I thought it was straightforward and I didn't feel that lawyers were necessary. But you didn't seem to want to do that."
    I'm unclear on whether you are implying that I didn't want to hire a lawyer or that I didn't want to read the licenses myself and make a decision. If you meant the former, you're darn right. I'm not paying anyone a dime to satisfy my personal acedemic curiosity concerning a random project I've been messing with in my spare time that isn't related to to any job or business decision. I'm simply looking for information because that's I do when I don't understand how something works. First, I Google the hell out of it and if I can't turn up satisfactory answers (or any at all) I find an applicable forum and ask there.
    If you were implying the latter (that I didn't want to read the licenses myself) then you haven't been reading my posts. I stated to jschell that I have no problem attempting to figure out a license agreement on my own. In fact, I have read the ColdFusion agreement from Adobe before posting here. I talks about modifying the software, but I still don't think it is crystal clear about whether third part code falls under it's own license AND Adobie's or just its own license. Then that is the point at which you must do one of the following
    1. Consult a lawyer.
    2. Decide to allow for a liberal interpretation (thus you can use the code) and understand that you personally are liable if your interpretation is wrong.
    3. Decide to allow for a conservative intepretation to avoid liable on your part.
    Regardless of what anyone says here it won't remove your own liability.
    >
    The source for the java.servlet.http.Cookie class stated that it is release under the Apache license 2.0 whcih I read up on. I will admit I'm not actually sure how to tell the exact verison of the Java Servlet API classes that JRun is built on other than to cross reference which version of the servlet API came out with which version of Java, but that is a suspect method. I have been programming for more than 8 years, but I'm relatively new to the Java landscape.
    I'm not looking for handouts here. I know this was a tough subject and I was prepared for NO ONE to respond and I would have been ok with that. I have no problems making decisions on my own and I have no intention of passing the buck to anybody.
    Here's the thing though. A useful response is one that states some facts (or opinions), references a similar peice of software for comparison, a court case, or provides a few links to some open source-type websites were I might find more information about my issue.
    Telling me to hire a lawyer and chastising me for "pass the buck" is doing about as much good as Linux snobs telling people to RTFM.
    Wrong.
    A lawyer is the best and most correct answer.
    And it is the first answer that should always be given with these sorts of questions.
    If you choose not to accept the best and most correct answer then that is up to you.
    I understand that a large number of people on public forums are lazy sponges who wish someone would just post all the code they need, but assure you I am not that person. I'll admit I don't know much about open source and I'm not sure where to start looking since I seem to have a scenario which is not really discussed much on the web. All I am looking for is information and sincere help.And presumably you also understand that we certainly can't give you legal advice but also it would be foolhardy for you to accept it as well.
    You learn by reading many license agreements and reading as much about legal situations involving computers and related technical cases as you can.
    And until you are comfortable making such decisions yourself without asking then the only useful answer is ask a lawyer.

  • Open source SFTP Client

    Hi,
    I�m looking for an open source SFTP Client.
    I�ve downloaded commons-net-ftp-2.0.0.jar from http://people.apache.org/~rwinston/commons-net-2.0/.
    It is very useful and has support for FTP and FTPS protocols but I need to have support for SFTP protocol too.
    So any update in this regard is highly helpful to me and the same is highly appreciated.
    I�m looking NOT for any graphical or command line,�kind of implementation.
    I�m expecting a jar like commons-net-ftp-2.0.0.jar which I can as use as part of (server side) java applications.

    corlettk wrote:
    georgemc wrote:
    And your Java question is?Relax, Thunderbird is written (predominantly) in Java.What? No! It isn't! Why do you think so?
    Thunderbird is based on XULRunner, which is a lot of C++. And Thunderbird itself is a mix of C++, JavaScript and XUL.

  • Logging with whereabouts using open source and freeware

    You can find the html version of this at:
    http://www.acelet.com/whitepaper/loggingWithWhereabouts.html
    Logging with whereabouts using open source and freeware
    The purpose of logging is to find out what had happened when needed. When the
    time comes to read log messages, you want to know both the log message and its
    whereabouts (class name, method name, file name and line number). So you need
    to hard code whereabouts.
    But hard coded whereabouts are very difficult to maintain: when you modify your
    source code, line number changes; when you copy and paste a line, its class name
    and method name change. If whereabouts are wrong, you introduce bugs in your logging
    logic and the log messages are useless at the best.
    This article shows you an example of using freeware Redress tool to rectify whereabouts
    programmatically in your Makefile or Ant build file. So your whereabouts are always
    correct for both Java and JSP source file.
    Redress tool is part of SuperLogging at http://www.ACElet.com. SuperLogging also
    provides an open source wrapper Alog.java, which redirects log method calls to
    your favorite logging package. Redress tool can rectify whereabouts information
    on all Alog's method calls in your application. So, if you call Alog's log methods,
    these calls will be rectified by Redress.
    JDK 1.4 introduces a new utility package java.util.logging. The example in this
    article is based on JDK logging. Log4J is a cousin of JDK logging. Log4J users
    should have no difficulties to modify this example for Log4J. Both JDK logging
    and Log4J are excellent logging software for single JVM.
    Note: Redress tool rectifies method calls on Alog, not JDK logging. You need to
    call Alog instead of JDK logging in your application.
    Source code of Alog.java
    The following is the source code of Alog's JDK logging version. It serves as an
    library file and should be on your CLASSPATH:
    * Copyright Acelet Corp. 2000. All rights reserved
    * License agreement begins >>>>>>>>>> <br>
    * This program (com.acelet.opensource.logging.Alog) ("Software") is an
    * open source software. <p>
    * LICENSE GRANT. The Software is owned by Acelet Corporation ("Acelet").
    * The Software is licensed to you ("Licensee"). You are granted a
    * non-exclusive right to use, modify, distribute the Software for either
    * commercial or non-commercial use for free, as long as: <br>
    * 1. this copyright paragraph remains with this file. <br>
    * 2. this source code (this file) must be included with distributed
    * binary code.<br>
    * NO WARRANTY. This comes with absolutely no warranty. <p>
    * <<<<<<<<<< License agreement ends <p><p>
    * The purpose of releasing this open source program is to prevent vendor
    * lock in. <p>
    * You can code your program using this class to indirectly use Acelet
    * SuperLogging (com.acelet.logging). If later you want to swith to other
    * logging package, you do not need to modify your program. All you have
    * to do is: <p>
    * 1. modify this file to redirect to other logging packages. <br>
    * 2. replace existing com.acelet.opensource.Alog with your modified one. <br>
    * 3. you may have to reboot your EJB server to make the changes effect.<br>
    * <p>
    * This program is just a wrapper. For detail information about the methods
    * see documents of underline package, such as com.acelet.logging.Logging.
    * <p>
    * Visit http://www.ACElet.com for more information.
    * <p>
    * This file is a modified for using JDK logging as an EXAMPLE.
    * <br>
    * You can use Redress tool to keep your whereabouts information
    * always correct. See http://www.ACElet.com/freeware for detail.
    * <p>
    * Please see http://www/ACElet.com/opensource if you want to see the
    * original version.
    package com.acelet.opensource.logging;
    import java.util.logging.*;
    public final class Alog {
    * Log level value: something will prevent normal program execution.
    public static int SEVERE = 1000;
    * Log level value: something has potential problems.
    public static int WARNING = 900;
    * Log level value: for significant messages.
    public static int INFO = 800;
    * Log level value: for config information in debugging.
    public static int CONFIG = 700;
    * Log level value: for information such as recoverable failures.
    public static int FINE = 500;
    * Log level value: for information about entering or returning a
    * method, or throwing an exception.
    public static int FINER = 400;
    * Log level value: for detail tracing information.
    public static int FINEST = 300;
    static Logger logger;
    static {
    logger = Logger.getLogger("");
    public Alog() {
    public static void alert(String subject, String message) {
    public static void error(String text, int level, String fullClassName,
    String methodName, String baseFileName, int lineNumber) {
    String[] para = {lineNumber + "", baseFileName};
    logger.logp(getLevel(level), fullClassName, methodName, text, para);
    public static Level getLevel(int levelValue) {
    if (levelValue == SEVERE)
    return Level.SEVERE;
    else if (levelValue == WARNING)
    return Level.WARNING;
    else if (levelValue == INFO)
    return Level.INFO;
    else if (levelValue == CONFIG)
    return Level.CONFIG;
    else if (levelValue == FINE)
    return Level.FINE;
    else if (levelValue == FINER)
    return Level.FINER;
    else if (levelValue == FINEST)
    return Level.FINEST;
    else
    return Level.ALL;
    public static void log(String text, int level, String fullClassName,
    String methodName, String baseFileName, int lineNumber) {
    String[] para = {lineNumber + "", baseFileName};
    logger.logp(getLevel(level), fullClassName, methodName, text, para);
    public static void sendMail(String to, String from, String subject,
    String text) throws Exception {
    public static void sendMail(String to, String cc, String bcc, String from,
    String subject, String text) throws Exception {
    Test program
    The simple test program is Test.java:
    import com.acelet.opensource.logging.Alog;
    public class Test {
    public static void main(String argv[]){
    Alog.log("Holle world", Alog.SEVERE, "wrongClassName", "wrongMethod",
    "wrongFileName", -1);
    How to run the test program
    1. Compile Alog.java (JDK 1.4 or later, not before):
    javac Alog.java
    2. Download freeware Redress tool from http://ACElet.com/freeware.
    3. Run Redress tool:
    java -cp redress.jar Test.java
    4. Check Test.java. The Alog.log method call should be rectified.
    5. Run test program:
    java Test
    You should see log message with correct class name and method name.

    Hi;
      I found this code and would like to share it with you :
    JCoDestination destination = JCoDestinationManager
      .getDestination(DESTINATION_NAME2);
      JCoFunction function = destination.getRepository().getFunction(
      "RFC_FUNCTION_SEARCH");
      if (function == null)
      throw new RuntimeException("RFC_FUNCTION_SEARCH not found in SAP.");
      function.getImportParameterList().setValue("FUNCNAME", "*");
      function.getImportParameterList().setValue("GROUPNAME", "*");
      try {
      function.execute(destination);
      JCoTable funcDetailsTable = function.getTableParameterList()
      .getTable("FUNCTIONS");
      int totalNoFunc = funcDetailsTable.getNumRows();
      if (totalNoFunc > 0) {
      for (int i = 0; i < totalNoFunc; i++) {
      System.out.println("Function Name: "
      + funcDetailsTable.getValue(i));
      } catch (AbapException e) {
      System.out.println(e.toString());
      return;
      System.out.println("RFC_FUNCTION_SEARCH finished");
    It is working and retrieving FM.
    Regards
    Anis

  • Opening the jar file in Jdeveloper

    Hi,
    I have a executable jar file of the BPEL process. How can I open the jar file in Jdeveloper in my local machine to do some enhancements. i have no source code with me. While i am trying to open in JDev.. The message parts are not being created and showing error messages with partner links.
    Could any one help me regarding this issue..
    very .. very.. urgent.
    Thanks,
    BPEL user

    Yes, i have unzipped and opened in JDeveloper. But exceptions are coming while validating. The exceptions are at the message parts and partnerlinks( asking the location of wsdl ). I have no .jws file.. Is it the problem?.
    Thanks,
    Bpel User

  • [svn] 2891: Add the web-tier compiler for J2EE to the Flex open source code base.

    Revision: 2891
    Author: [email protected]
    Date: 2008-08-19 07:35:22 -0700 (Tue, 19 Aug 2008)
    Log Message:
    Add the web-tier compiler for J2EE to the Flex open source code base.
    Added Paths:
    flex/sdk/trunk/modules/webtier/
    flex/sdk/trunk/modules/webtier/bootstrap/
    flex/sdk/trunk/modules/webtier/bootstrap/build.xml
    flex/sdk/trunk/modules/webtier/bootstrap/java/
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/META-INF/
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/META-INF/taglib.tld
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/default.properties
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/bootstrap/
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/bootstrap/BootstrapBodyTag.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/bootstrap/BootstrapClassLoader.jav a
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/bootstrap/BootstrapFilter.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/bootstrap/BootstrapServlet.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/bootstrap/BootstrapTag.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/bootstrap/TagGenerator.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/server/
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/server/j2ee/
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/server/j2ee/jsp/
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/server/j2ee/jsp/FlashVarTa g.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/server/j2ee/jsp/MxmlTag.ja va
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/server/j2ee/wrappers/
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/server/j2ee/wrappers/ATGFi lterConfig.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/server/j2ee/wrappers/ATGHt tpServletRequest.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/server/j2ee/wrappers/ATGSe rvletConfig.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/server/j2ee/wrappers/ATGSe rvletContext.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/server/j2ee/wrappers/J2EEW rapper.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/util/
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/util/FileUtils.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/flex/webtier/util/J2EEUtil.java
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/hitachi.properties
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/interstage.properties
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/jrun.properties
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/tomcat.properties
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/weblogic.properties
    flex/sdk/trunk/modules/webtier/bootstrap/java/src/websphere.properties
    flex/sdk/trunk/modules/webtier/build.properties
    flex/sdk/trunk/modules/webtier/build.xml
    flex/sdk/trunk/modules/webtier/coldfusion/
    flex/sdk/trunk/modules/webtier/coldfusion/build.xml
    flex/sdk/trunk/modules/webtier/coldfusion/lib/
    flex/sdk/trunk/modules/webtier/coldfusion/lib/cfmx_bootstrap.jar
    flex/sdk/trunk/modules/webtier/coldfusion/src/
    flex/sdk/trunk/modules/webtier/coldfusion/src/java/
    flex/sdk/trunk/modules/webtier/coldfusion/src/java/coldfusion/
    flex/sdk/trunk/modules/webtier/coldfusion/src/java/coldfusion/bootstrap/
    flex/sdk/trunk/modules/webtier/coldfusion/src/java/coldfusion/bootstrap/BootstrapBodyTag. java
    flex/sdk/trunk/modules/webtier/coldfusion/src/java/coldfusion/bootstrap/BootstrapTag.java

    JLundan,
    I want to thank you for responding to the thread I started on the forum at java.sun.com. Your solution to my problem of needing to print the code of the html pages that the file I included generates was just what I was looking for. However, I have some further questions to ask, if you don't mind. To clarify my task I should say that your rephrasing of the problem is accurate: "You wan't to display the contents of the HTML file that the web server produces in response of client's request?"
    Yes, this is what I need to do, but also it needs to display the source code of that html file that the server produces in response to the client's request. Also, in this case, I am the client requesting that the server return some html file, and I'm not sure where the server is. But the webserver.java file that I shared on the forum is on my local machine. I was wondering if I could modify this webserver.java file at my home so that any html file the server returns to me would automatically display the source code. This is a school project of mine and I am stuck on this one thing here.
    Further, where would I put the "foo.html" file so it can be written to?
    FileOuputStream fos = new FileOutputStream("foo.html");
    fos.write(bytes);
    fos.close();
    Thanks so much for your help. I look forward to your response, at your convenience.
    Regards

  • ActionScript 3 compiler, asc, is now open-source

    In the latest nightly build of the Flex SDK is the as3
    compiler code!
    The ActionScript 3 compiler, asc, is now open-source! Added
    the source code for Flex 3's asc.jar, at
    branches/3.0.x/modules/asc. This code came from
    ssh://asteam.macromedia.com/hg/asc-flex3 and is what built the
    asc.jar that shipped with SDK 3.0.0.477, plus open-source copyright
    changes. It requires Java 1.5 to build and is not integrated with
    the build scripts for branched/3.0.x; this branch continues to have
    a prebuilt asc.jar in 'lib'.

    PHPAMF is not an Adobe product and for this you did not find anything here.
    Amfphp can properly serialize and deserialize complex types. In addition to objects and arrays, it supports resources from database connections, which means you can simply return mysql_query from your remote method and amfphp will know what to do with it. If the platform supports it (currently, Flash Remoting only), it can handle circular references and typed objects. It also supports simple remote debugging. Finally, amfphp comes with a service browser which allows you to test your services before creating a frontend.
    Regards, Giuseppe

  • Can I connect open source evolution mail client to an OCS Mail Server?

    Hi.
    I'm trying to configure an evolution mail client to connect to OCS Mail Server. The idea would be to evaluate this solution over costly MS Outlook. I'm aware that Oracle provides a connector for outlook client and that this facility might offer certain functionality not available with other mail clients. So far, i can connect, send and receive mails. However i can't access the distribution list in Oracle Mail Server, or put in other words, i can't access the OID. Evolution offers the option to connect to an ldap server, but i've not been able to connect. The guys as Metalink tell me that if this client can connect to an ldap server one could accessed the distribution list in OID.
    So :
    - Has anyone out there tried to connect this mail client or any other open source mail client to OCS Mail Server?.
    - Can evolution client really connect to an ldap server? one like OID?.
    Thanks in advance ...!

    Hello Luis!
    I have in the past used different mail clients to connect to the OCS. So as a fact as long as they speak POP3 or IMAP you should be capable of reading your mails.
    However I did not try to use the distribution lists.
    What exactly is not working with the connection to the OID (LDAP) from the Evolution client?
    Did you try to set the logging in the OID to a higher value? This helped me lots of times when dealing with OID problems.
    cu
    Andreas

  • Connecting Websphere MQ with another open source Queuing System

    Hi everybody,
    i work in a company that has already purshaced Websphere MQ as MOM, and we have some clients that unable to buy it. So is it possible that we find an open source queuing system such as ( openMQ, ActiveMQ ....) able of sending messages to a websphere MQ over a secured channel. I couldnt find any site on the internet that's telling me straightforward that this or that queuing system is able to connect with websphere MQ. So i'm begining to believe that it's impossible to have 2 different queuing systems working together and that it has to happen through an application server. Is that true ?? that every queuing system could only send messages to the same system and if not what open source queuing systems i can use with Websphere MQ ?? I'm really puzzled and hope anyone could help.
    Thank You

    Thanks. James.
    I posted the same message to servicemix user forum.
    I have tried including jboss client jars and wl jars in classpath. I started servicemix. It looked OK without errors. However when I publish jms meesage in the destination in jboss (servicemix was supposed to sub the msg from the jboss destination and pub it to wl destination), I got the following errors
    C:\incubating-servicemix-3.0-SNAPSHOT\examples\jms-bridge>servicemix servicemix.xml
    Apache ServiceMix ESB: 3.0-SNAPSHOT
    Loading Apache ServiceMix from file: servicemix.xml
    INFO - JBIContainer - Activating component for: [container=ServiceMix,name=#SubscriptionManage
    INFO  - ComponentMBeanImpl             - Initializing component: #SubscriptionManager#
    INFO  - DeploymentService              - Restoring service assemblies
    INFO  - JBIContainer                   - ServiceMix JBI Container (http://servicemix.org/) name: ServiceMix runni
    INFO  - JBIContainer                   - Activating component for: [container=ServiceMix,name=myJmsReceiver] with
    INFO - ComponentMBeanImpl - Initializing component: myJmsReceiver
    INFO - JBIContainer - Activating component for: [container=ServiceMix,name=transformer] with s
    INFO - ComponentMBeanImpl - Initializing component: transformer
    INFO - JBIContainer - Activating component for: [container=ServiceMix,name=transformedSender]
    INFO - ComponentMBeanImpl - Initializing component: transformedSender
    INFO - JBIContainer - Activating component for: [container=ServiceMix,name=myJmsSender] with s
    INFO - ComponentMBeanImpl - Initializing component: myJmsSender
    [Fatal Error] :1:1: Content is not allowed in prolog.
    [Fatal Error] :1:1: Content is not allowed in prolog.
    [Fatal Error] :1:1: Content is not allowed in prolog.
    [Fatal Error] :1:1: Content is not allowed in prolog.
    [Fatal Error] :1:1: Content is not allowed in prolog.
    [Fatal Error] :1:1: Content is not allowed in prolog.
    [Fatal Error] :1:1: Content is not allowed in prolog.
    [Fatal Error] :1:1: Content is not allowed in prolog.
    [Fatal Error] :1:1: Content is not allowed in prolog.
    [Fatal Error] :1:1: Content is not allowed in prolog.
    ERROR - ServerThread - socket timed out
    java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
    at java.io.FilterInputStream.read(FilterInputStream.java:66)
    at org.jboss.serial.io.JBossObjectInputStream.read(JBossObjectInputStream.java:140)
    at org.jboss.remoting.transport.socket.ServerThread.readVersion(ServerThread.java:464)
    at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:381)
    at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:498)
    at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:240)
    Note: please ignor the transformer which I did not use it in the test. My servicemix.xml is
    <?xml version="1.0" encoding="UTF-8" ?>
    <beans xmlns:sm="http://servicemix.apache.org/config/1.0" xmlns:foo="http://servicemix.org/demo/pipeline/">
    <!-- the JBI container and its components
    -->
    <sm:container id="jbi" embedded="true">
    <sm:activationSpecs>
    <sm:activationSpec componentName="myJmsReceiver" service="foo:myJmsReceiver" destinationService="foo:jmsSender">
    <sm:component>
    <bean class="org.apache.servicemix.components.jms.JmsReceiverComponent">
    <property name="template">
    <bean class="org.springframework.jms.core.JmsTemplate">
    <property name="connectionFactory">
    <ref bean="jbossConnectionFactory" />
    </property>
    <property name="defaultDestination" >
    <ref bean="jbossSourceDestination" />
    </property>
    <property name="pubSubDomain" value="true" />
    </bean>
    </property>
    </bean>
    </sm:component>
    </sm:activationSpec>
    <sm:activationSpec componentName="transformer" service="foo:transformer" destinationService="foo:transformedSender">
    <sm:component>
    <bean class="org.apache.servicemix.components.xslt.XsltComponent">
    <property name="xsltResource" value="classpath:org/apache/servicemix/components/xslt/transform.xsl" />
    </bean>
    </sm:component>
    </sm:activationSpec>
    <sm:activationSpec componentName="transformedSender" service="foo:transformedSender">
    <sm:component>
    <bean class="org.apache.servicemix.components.jms.JmsSenderComponent">
    <property name="template">
    <bean class="org.springframework.jms.core.JmsTemplate">
    <property name="connectionFactory">
    <ref local="jmsFactory" />
    </property>
    <property name="defaultDestinationName" value="demo.cheese.result" />
    <property name="pubSubDomain" value="true" />
    </bean>
    </property>
    </bean>
    </sm:component>
    </sm:activationSpec>
    <sm:activationSpec componentName="myJmsSender" service="foo:jmsSender">
    <sm:component>
    <bean class="org.apache.servicemix.components.jms.JmsSenderComponent">
    <property name="template">
    <bean class="org.springframework.jms.core.JmsTemplate">
    <property name="connectionFactory">
    <ref bean="weblogicConnectionFactory" />
    </property>
    <property name="defaultDestination">
    <ref bean="weblogicTargetDestination" />
    </property>
    <property name="pubSubDomain" value="true" />
    </bean>
    </property>
    </bean>
    </sm:component>
    </sm:activationSpec>
    </sm:activationSpecs>
    </sm:container>
    <bean id="jmsFactory" class="org.apache.activemq.pool.PooledConnectionFactory">
    <property name="connectionFactory">
    <bean class="org.apache.activemq.ActiveMQConnectionFactory">
    <property name="brokerURL" value="vm://localhost?broker.persistent=false" />
    </bean>
    </property>
    </bean>
    <bean id="jbossJndiTemplate" class="org.springframework.jndi.JndiTemplate">
    <property name="environment">
    <props>
    <prop key="java.naming.factory.initial">
    org.jnp.interfaces.NamingContextFactory
    </prop>
    <prop key="java.naming.provider.url">
    jnp://L71037263:1099
    </prop>
    <prop key="java.naming.factory.url.pkgs">
    org.jboss.naming:org.jnp.interfaces
    </prop>
    </props>
    </property>
    </bean>
    <bean id="jbossConnectionFactory"
    class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiTemplate">
    <ref bean="jbossJndiTemplate"/>
    </property>
    <property name="jndiName">
    <value>ConnectionFactory</value>
    </property>
    </bean>
    <bean id="jbossSourceDestination"
    class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiTemplate">
    <ref bean="jbossJndiTemplate"/>
    </property>
    <property name="jndiName">
    <value>topic/testTopic</value>
    </property>
    </bean>
    <bean id="weblogicJndiTemplate" class="org.springframework.jndi.JndiTemplate">
    <property name="environment">
    <props>
    <prop key="java.naming.factory.initial">
    weblogic.jndi.WLInitialContextFactory
    </prop>
    <prop key="java.naming.provider.url">
    t3://enic01.ed.ray.com:7001
    </prop>
    </props>
    </property>
    </bean>
    <bean id="weblogicConnectionFactory"
    class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiTemplate">
    <ref bean="weblogicJndiTemplate"/>
    </property>
    <property name="jndiName">
    <value>mil/dcgs/jms/mdf/catalogConnectionFactory</value>
    </property>
    </bean>
    <bean id="weblogicTargetDestination"
    class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiTemplate">
    <ref bean="weblogicJndiTemplate"/>
    </property>
    <property name="jndiName">
    <value>topic/GMTIDetections</value>
    </property>
    </bean>
    </beans>
    Thank you very much if you have any idea on it!!!!!
    By the way, I wonder how the servicemix jms bridge works. did I use it correctly?
    -

  • Where can I find a sophisticated sample app (from open source or oracle)?

    I am looking for open-source or Oracle's sample applications that uses most if not all of the features in Oracle Appserver 10.1.3. Most of existing sample applications I found under the 'sample applications' link are for older version of Oracle AS, and not compatible with 10.1.3. Other requires JDeveloper, which I don't plan on using.
    Any suggestions?
    thanks,
    Henry

    Henry, thanks for the feedback ... I have asked the product manager responsible for the JCA demo to take a look and update the sample. The best way to file the bug without having access to the db is tell us here. We try our best - though sometimes can't keep up - to monitor the forums, particluarly when we have a new release where lots of issues may need follow up like 10.1.3.
    On the how tos that require editing the XML, normally that is because we don't have access to do the configuration in the application server control or the command line tooling. In general I recommend you use ASC console or the command line tooling - admin.client.jar or our ant tasks - for configuration as you are right that it is the most consistent and accurate way to configure the environment. This doc book gives a sense of what that tooling works for:
    http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b14432/admin.htm#sthref68
    including ant tasks:
    http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b14431/anttasks.htm#sthref164
    However, unlike the previous release of OAS where editing the XML files often had unexpected consequences on other instances in the cluster because of a central managed repository concept that the older release had, in 10.1.3 that concept is no longer there so editing the XML files generally works fine both in stand-alone and managed. Again, in general we recommend using the tooling but my guess is if you have found a how to that requires editing the XML files, I suspect the tooling doesn't support it yet.
    Out of curiousity, I would be also interested in which one you found that had that - was it the JCA one again?
    Mike.

Maybe you are looking for

  • How do I set the Http Header POST URL in SAAJ?

    Hi , I am a newbie in the field of web services. I was trying to create a SOAP request with Http Header POST information having a POST url like the following: POST /OMASTI.xml HTTP/1.1 Content-Type: multipart/related; boundary="eladeladeladeladeladel

  • Windows XP does not recogized Sound Blaster Audilogy 2 Platinum c

    I upgraded to windows XP professional. I used the creatli've installation CD to install software. Creative Media Source will install. Audigy part will not install. Computer states, "Sound Card not Recognized. Make sure sound card is installed properl

  • How to reconnect after 1 disconnects from a group ...

    I send out an "invitation" to 3 people for a group video call.  We all get connected and then after some time one of them disconnects. Can that person reconnect to the group video (and if so how) or do we have to start the entire process over again?

  • What is kcSync and how does one turn it off?

    Evening folks This is a dingier and it's driving me nuts... After visiting my key chain to administer a little First Ad... I'm suddenly swamped with a series of repeated request for my master password... about two or three times per hour! Any ideas a

  • How can I get the tracks on my Ipod to play at the same volume

    I want the tracks on my ipod to play at the same volume - does anyone know how to do this? Is it done in itunes or on my Ipod (or can't I do this)