Open Source j2me Library

hi to all.
i am working in Netbeans 5.5 with j2me WTK 2.5. As all know there is no special GUI controls. Now my questions is
1. is there any j2me GUI library that integrate in Netbeans environment (5.5 or 6.0)..
Can anybody help me in this regards. Bcoz there are alot of applications build in j2me having special GUI controls. I need it urgently.
best regards
Hassan Mushtaq

1. how can i integrate this library into netbeans 5.5 or Netbeans 6.0Tools ---> Library Manager ---> Add Jar
And you simply add the jar file of the library , in the classpath tab.
After that to use the library you have to add it, in your project properties
2. Which Netbeans IDE u recommend to use this library. currently i m using 5.5.Either stay with 5.5 or upgrade to 6 , it doesn't matter the library works on both.
3. Can i integrate its control in Netbeans visual editor? if Yes How?No , till this point i think could be wrong though
1. Is j2me Polish is free? i don't think so. J2ME Polish is free , http://www.j2mepolish.org/ (url tag still doesn't work)
With Polish you can use the visual editor, since polish uses the same GUI components and enhances them with CSS.
I strongly recommend the J2ME Polish tool , i have been using it a while and it has great potentials especially for creating bundles of the application for different mobiles , as well for the interface enhancements. There is also a book i bought on J2ME Polish called Pro J2ME Polish if you are interested
Regards
Andreas Michaelides

Similar Messages

  • OT: Yahoo open sources Javascript library

    Scott had a interesting link on his blog recently.
    http://developer.yahoo.net/yui/index.html
    http://yuiblog.com/
    http://developer.yahoo.net/ypatterns/
    Interesting development. Wonder what their business rationale for doing this is.
    It is kinda sad to see whole new Javascript toolkits being built from scratch over and over again. There are so many awesome toolkits out there today (Dojo, Prototype, script.aculo.us, the list goes on), wonder why the communities don't just collaborate and concentrate on 1 or 2 toolkits. I guess that is the open source model at work :-(

    Hallo,
    ... and ApEx is doing their own also. How about integration of e.g. http://www.dojotoolkit.org/ and collaborate with that framework?
    dojo has a real good basic structure and stable foundation of their libraries to write high level browser independent JavaScript Code (including an Aspect Oriented Event System in JavaScript, that is very powerful).
    What about wrapping the libaries
    htmldb_html_elements.js over dojo.html.* and
    htmldb_get.js over dojo.hostenv / dojo.rpc
    For further info on dojo see:
    http://www.ajaxian.com/articles/dojo-in-practice/DojoToolkitInPractice.pdf
    http://www.javapassion.com/j2ee/DojoToolkit_speakernoted.pdf
    For comparison of different toolkits see:
    http://forums.theajaxworkshop.com/viewtopic.php?t=237&sid=0a6781a1deec72ba3f7e851e3d4746ed
    Thx, Willi

  • Open source Tag Library

    Hi,
    i wish to use the tag library (http://displaytag.sf.net) within a portlet. I have the successfully created this but when i select the Next / Prev links, the table is displayed outside off the portlet.
    Has anyone successfully implemented this or any other 3rd party tag library into portlal ?
    I cannot use the netui-data:pager or netui-data:grid tags as they only support the datasource javax.sql.RowSet. I need to use java.util.List.
    Thanks
    Mark

    "Mark Gilleece" <[email protected]> wrote in message
    news:16491524.1092761567367.JavaMail.root@jserv5...
    i wish to use the tag library (http://displaytag.sf.net) within a portlet.
    I have the
    successfully created this but when i select the Next / Prev links, thetable is displayed
    outside off the portlet.The problem here is that tag libraries and third party code need to work
    with the portal APIs in order to have request parameters, etc prefixed with
    portlet instance identifiers. If they don't do this and you used the same
    tags in multiple portlets the request parameters would collide.
    I cannot use the netui-data:pager or netui-data:grid tags as they onlysupport the datasource javax.sql.RowSet. I need to use java.util.List.
    Why not create a simple RowSet implementation around the List and feed that
    to the pager and grid tags. Alternatively, use the repeater tag and handle
    paging yourself as it is a pretty trivial operation.
    Cheers,
    Gerald

  • Will JCDK be open sourced?

    Hi,
    JSR177 is already open source. Will the rest of the Java Card Development Kit also be open sourced (especially cref/jcwde)?
    -Volker.

    Well SATSA is partially implemented in phoneME (open source J2ME).
    https://phoneme.dev.java.net/content/phoneme_feature_r2.html
    http://en.wikipedia.org/wiki/PhoneME_%28software%29

  • Bomber question - a commercial game open source

    I came across commerical J2ME game - Bomber at
    http://j2mebomber.sourceforge.net/
    But it is different from other open source J2me game in ways :
    1) Bomber project convert all images to a signle binary file
    http://chiu424.hypermart.net/intro.txt
    http://chiu424.hypermart.net/a.txt
    http://chiu424.hypermart.net/sound.txt
    http://chiu424.hypermart.net/level0.txt
    2) there is a utility called tobin.exe that takes a text file and output a binary file that includes all images / sounds
    3) here is a list of binary files for bomber ( sound + image )
    http://chiu424.hypermart.net/game.JPG
    ===============
    - Is there any tutorial on how to use ToBin.exe or other untility that covert images files to a single game data file that reads by J2ME game using InputStream and read byte by byte? it's somewhat confusing.
    - I had google more than 8 hours on info in using ToBin.exe with no luck, how it maps image to a single binary file, any tutorial on this?
    - it seems all commerical J2ME games read binary data file, instead of open PNG files one by one used by open source non - commerical games.

    i found this...
    1. Copy the Tobin.exe file from the floppy disk to the new directory.
    2. Because Tobin.exe is a self-extracting file, double-clicking the Tobin.exe file extracts the following four files:
    o Tobin16.exe (the utility)
    o Tobin16.hlp (the online Help file)
    o County.cde (a file containing the API county codes)
    o Tobin.doc (utility documentation)
    o ...
    here
    http://www.tobin.com/marketing_pages/documents/data_formats/tobin_to_geographix.htm
    did you install tobin.exe?

  • Windows not showing. Page source and library windows open but not showing.

    I select View --> Page Source and no window appears. Under the Window menu, the item Source: . . . shows but no window. If I close the main window then the item is ticked but still no actual window.
    I have disable all extensions and plugins, safe mode, revert all preferences.
    the same happens with Show all Bookmarks. This is why I posted this under bookmarks problems originally - see below.
    I now find the same happens to downloads and Error console windows. No problems in Safari or MS Word (usually the worst performer)
    Bookmarks are all present, but show all bookmarks produces no window, even though the window menu shows an item and I can select it.
    Mac OS 10.6.8 FF 5.01 Show all bookmarks shows no window, even if I close the main window. Under window menu the 'Library' item is ticked but still nothing. I have restarted, and renamed places database. recently installed some of these addons

    The one that solved it was my own last post, which does not have a Solved it.
    I copied the FF profile folder from another login and started with that.
    However. . . the problem is back. I installed extensions, NoScript and MyBookmarks and it seemed OK after that.
    Then I installed Download Youtube videos + 3.3.51, then DownThemAll! 2.0.7, Google Shortcuts 2.1..6, ImTranslator, QuickWiki and Read It later. No Plugins ennabled.
    when I disable all extensions then the windows for downloads, error console and 'open link in new window appear OK, but not the source or Library windows.
    As before they are on the window menu but no way to make them visible.

  • Do I need to pay anything to Adobe if I inject java script using some open source library?

    Hello,
    I want to restrict PDF reader to achieve Digital Rights Management (DRM).
    Do I need to pay anything to Adobe if I inject java script to achieve so using some open source library?
    Basically I want my PDF documents to be restricted such that I can: 
    Limit printing
    Prevent screenshots
    Restrict access by license expiry date
    Restrict distribution of downloaded PDF (i.e. the document should run on specific machine only)
    Restrict copy and paste within PDF document
    I came across below links from which I suspect Adobe expects one to pay if he/she attempts to restrict reader functionality in some way?
    http://www.adobe.com/devnet/reader/topic_drm.html
    http://www.adobe.com/devnet/acrobat/overview.html
    Am I correct in my assumption?

    I think it is a vain hope to imagine you could implement DRM via JavaScript. Remember it can be turned off.
    Printing is either enabled or disabled according to document security.
    Working with PDFs does not require permission from Adobe but
    * adding functionality to Adobe Reader definitely does; a DRM development license is a major investment.
    * if the file is Reader-enabled, all third party tools will disable that.

  • Open source, object-oriented embedded database for J2ME

    For J2ME-based devices that require embedded data management, there is now an open source, object-oriented embedded database for J2ME called Perst Lite.
    Perst Lite can be downloaded as part of the Perst open source embedded database package, at
    http://www.mcobject.com/downloads.php?step=2&catID=4
    Cheers,
    Ted

    Spam blocked. As this user has only ever logged in here to post spam, the user account is blocked for a year.
    db

  • Can i see the source of a j2me library class?

    can i see inside of a j2me library class? for example can i see the source of the class javax.microedition.media.control.VolumeControl ?

    see http://forum.java.sun.com/thread.jspa?threadID=5145689&tstart=0

  • New free/open-source tool to encapsulate the OCI interface

    Hello,
    Here is a short presentation and a link to a new free tool available on soureceforge.net.
    This tool is a powerful "wrapper" to encapsulate the OCI interface:
    Introduction
    OCILIB is a free, open source and platform independant library, written in C, that access Oracle Databases.
    The OCILIB library :
    * Encapsulates OCI (Oracle Call Interface which is powerful but complex)
    * Hides OCI complexity
    * Proposes instead a simple, readable and reusable API
    * Offers up to 310 simple and straightforward APIs.
    Introduction
    Current version : 2.3.0 (2008-03-30)
    Main features
    * Data binding
    * Integrated smart define and fetch mecanisms
    * Full Unicode support on all platorms
    * Multi row fetching
    * Binding array Interface for fast and massive bulk operations
    * Reusable Statements
    * Connection Pooling
    * Global Transactions
    * Returning DML feature support
    * ROWIDs support
    * Named Types (Object types) support (User or Builtin)
    * Cursors
    * PL/SQL blocks
    * PL/SQL Ref cursors and Nested tables
    * LOB (BLOBs/ FILEs)
    * Supports lobs > 4Go
    * Long datatype (piecewise operations)
    * Provides "All in one" Formatted functions (printf's like)
    * Smallest possible memory usage
    * Date/time management
    * Timestamps and Intervals support
    * Error handling
    * Describe database schema objects
    * Access columns by index or name
    * Hash tables API
    * Portable Threads and mutexes API
    * Supports static / shared oracle linkage
    * Support runtime loading (no OCI libs required at compile / time)
    * Great performances (straight OCI encapsulation)
    Download
    Get OCILIB from OCILIB Project page at Sourceforge Website:
    http://orclib.sourceforge.net/
    Hope this would help some of you ;D
    Francois

    Don't give up just because there are other options out there.
    Adobe is only giving up the free tool for education purposes, or unemployed developer.  You didn't say if you were one of those.
    I believe over time there will be plenty of room for alternate IDE approaches that support the Flex Framework; and in fact there are quite a few options already out there.

  • Open Source News group in java

    Hi all
    Not sure where to post this.I am looking for an open source news group one similar to java forums where users can post comments on my application and stuff.Is there anything of such kind which
    is open source so that i can save time rewriting a similar one.I googled and tried some other sites but attempts were in vain.
    thanks,
    Sree

    DrClap,
    I see what you are saying but i don't think my company allows me to do that since its an in-house tool and i don't have much idea about how confidential they might consider posting
    things on an external server.So i'm planning if i could get an open source project or library which does that i could provide the space and stuff needed for it to work.
    thanks
    Sree

  • Huge Hole in Open Source Software Found, Leaves Millions Vulnerable

    Huge Hole in Open Source Software Found, Leaves Millions Vulnerable
    Debian, the Linux variant used largely by security professionals, and Ubuntu, the variant most commonly used by home users are both affected. Furthermore, Windows servers may be compromised as well if they are using keys generated on Linux systems.
    Ironically the bug originated from an automated tool known as Valgrind which is supposed to reduce programming bugs which lead to security vulnerabilities. It found that a block memory was not being properly initialized, meaning that it would contain random information. The automated tool politely inserted code to clean up the block of memory making it all zeros. The only problem was that the system was intentionally using the block's unknown to get randomness to generate the keys. The library also gets randomness from mouse movements, keystroke timings, network packet arrival timings, and even microvariations in hard drive speed.
    The Valgrind code caused errors, so the programmers simply commented out all the code, including the other methods of generating randomness on accident. Only the code which utilized the process ID, an integer ranging from 0 to 32,767, remained to provide randomness. It turns out the "fix" turned grievous error was not the work of the OpenSSL programmers themselves, but of the Debian team, known for their security expertise.
    OpenSSL developer Ben Laurie raged, "Never fix a bug you don't understand! Had Debian [sent the bug to us] in this case, we (the OpenSSL Team) would have fallen about laughing, and once we had got our breath back, told them what a terrible idea this was. But no, it seems that every vendor wants to 'add value' by getting in between the user of the software and its author."

    firewalker - this was discussed here and on our mailing lists at the time the vulnerability was discovered, approximately two weeks ago. It's always a good idea to search the forum before posting.
    http://bbs.archlinux.org/viewtopic.php?id=48660
    Thread closed.

  • EngLab - Open source mathematical/engineering platform

    Hello all,
    I'm new to Archlinux and quite exited with it. Anyway, some colleagues of mine from the University and me have created an engineering platform for the Linux platform, although Windows builds are also available. If you like check it out, but be aware that it's still on an early development stage.
    (I hope this is the right board to post this )
    Website: http://englab.sourceforge.net/
    Now that I am into Arch I'm going to make some research and create a build system for it to run on Arch and with your help maybe enter the AUR.
    Here is our press presentation for the first big release (now we're on 0.2.1alpha):
    We are pleased to inform you that the 0.2alpha release of the open-source program EngLab has been published.
    Our site is located to englab.sourceforge.net . You can download it from https://sourceforge.net/project/showfil … _id=206384
    EngLab is a cross-compile mathematical platform with a C like syntax, intended to be used both by engineers and users with little programming knowledge. The initiative has been taken from a group of students a year ago.
    Our goal is to develop an easy-to-use computaion and simulation platform with a C++ like syntax. We have adopted Matlab's structure philoshophy and C++ 's structured language syntax. There are various toolboxes (packages of functions relative to a certain scientific field), which depend on open-source libraries.
    The EngLab distribution is available in two ways: there are two basic Englab releases, EngLab Console and EngLab GUI. EngLab Console allows EngLab's execution through the console(Linux or Windows). EngLab GUI gives the opportunity of using EngLab through a graphical user interface. EngLab GUI is implemented with the use of  the open-source library wxWidgets 2.8, providing additional usability compared to EngLab Console edition. EngLab GUI is independent, so there is no need for EngLab Console to be installed, in order to properly install and execute EngLab GUI.
    Toolboxes are distributed as seperate packages. Their installation is possible either through EngLab Console or EngLab GUI. The reason is that those toolboxes depend on open-source libraries that have to be previously installed. So as the user not to be forced to install those libraries directly, user can install packages and toolboxes at his/her own will.
    For the time being, EngLab Console edition is available for Windows and Linux and Englab GUI is available for Linux only.
    Until now EngLab has the following features :
    - 16 types of variable declaration (int, float, ...)
    - Variable declaration with unlimited number of dimensions.
    - Loop structures (for, while, ...)
    - Arithmetic, logical and binary operations
    - Constant number declaration (pi, phi, ...)
    - Graphical manipulation of variable values of any dimension (Englab GUI)
    - Adjustable graphical environment (Englab GUI)
    - Editor for writing *.eng functions (Englab GUI)
    - Command history for the last 5 sessions
    - Immediate access to variables, constants and functions (EngLab GUI)
    - Recent files opened through EngLab (EngLab GUI)
    Toolboxes that have been fully or partially implemented:
    - a package containing fundamental functions of C (trigonemetric, hyperbolic trigonometrical, ...)
    - a package containing some statistic functions
    - a package containing functions that allow convertions of the variable type
    All these toolboxes accompany the basic two EngLab editions, since they do not depend on another open-source library. Moreover, some other toolboxes have been partially implemented:
    - a package that contains functions for the manipulation of 2-D matrices (determinant, inverse array, ...). This package depends on the open-source library NewMat10.
    - a package that contains functions for image processing. This package depends on the open-source library CImg.
    - a package that contains functions for image processing. This package depends on the open-source library OpenCV.
    Also, we develop
    - a toolbox for visual data representation(plots etc)
    - a toolbox that contains functins for manipulating polyonymials, root detection, computation of integrals and derivatives, special functions and more.
    Those two toolboxes will be available in the next releases.
    The disadvantage is the number of EngLab developers, which does not allow EngLab's quick development. Thus, helping us would be welcomed.
    You can help us with the following two ways:
    - By reporting bugs, which you have observed during EngLab execution. You can report bugs in https://sourceforge.net/tracker/?group_ … tid=997443 . Moreover, you can suggest new features that would improve EngLab's usability and performance. New features can be suggested in https://sourceforge.net/tracker/?group_ … tid=997446 .
    - If you would like to get more into EngLab, you can become EngLab developers and help us. That requires C++ knowledge.
    If you have read till here, that's a good sign. Wink
    You could ask questions in the mailing list [email protected] or in the forum .
    EngLab development team :
    Bugfest development team :
    Serenis Charalampos - PhD student of the Department of Electrical and Computer Engineering of Aristotle University of Thessaloniki(Greece).
    Tsardoulias Emmanouil - PhD student of the Department of Electrical and Computer  Engineering of Aristotle University of Thessaloniki(Greece).
    Gavves Efstratios - Dipl. Engineer of the Department of Electrical and Computer  Engineering of Aristotle University of Thessaloniki(Greece).
    Parastatidis Nikolas - Postgraduate student of the Department of Electrical  and Computer Engineering of Aristotle University of Thessaloniki(Greece).
    Also contributed:
    Gkekas Christos - Dipl. Engineer of the Department of Electrical and Computer  Engineering of Aristotle University of Thessaloniki(Greece).
    Vogianou Thanassis - PhD student of the Department of Electrical and Computer  Engineering of Aristotle University of Thessaloniki(Greece).

    We are glad to announce that version 0.3 of Englab has been released. The new version contains several bug fixes and improvements in the kernel, a new and advanced GUI based on the Qt toolkit and toolboxes with several functions. Amongst the featured toolboxes are:
    - cimgbox, image processing and manipulation toolbox
    - plotbox, toolbox for plotting graphs and figures
    - dspbox, toolbox for Digital Signal Processing and audio processing
    as dynamic (external) toolboxes and:
    - analogfilters, toolbox for analog filter design
    - unit conversions toolboxes, complex numbers toolbox, polynomials toolbox, stats toolbox etc.
    as static (internal) toolboxes.
    Englab is available for GNU/Linux, Unix (not tested) and Windows32 platforms.
    For GNU/Linux
         - Platform-independent
         The source tarballs are available at:
         http://sourceforge.net/project/showfile … _id=206384
         - Debian/Ubuntu (and other Debian-based distributions)
         Precompiled deb packages are available for download here:     
         http://sourceforge.net/project/showfile … _id=292500
         or to use our Debian repository, simply add it to your package sources by appending the following lines to /etc/apt/sources.list
         deb http://englab.bugfest.net/debian unstable main
         deb-src http://englab.bugfest.net/debian unstable main
         (Please note that you need to have root permission in order to edit the sources.list file)
         - Archlinux
         PKGBUILD scripts are available in AUR:
         http://aur.archlinux.org/packages.php?O … _Search=Go
         or in sourceforge:     
         http://sourceforge.net/project/showfile … _id=292585
         and also precompiled Arch packages exist in our Archlinux repository. In your /etc/pacman.conf add the following lines for the i686 architecture:
         [englab]
         Server = http://englab.bugfest.net/arch/i686
         and for the x86_64 architecture:
         [englab]
         Server = http://englab.bugfest.net/arch/x86_64
         then execute:
         # pacman -Syu
         to allow pacman to synchronize with the repository and:
         # pacman -Ss englab
         to see all the available packages.
         - Fedora
         RPM packages can be downloaded from sourceforge:
         http://sourceforge.net/project/showfile … _id=324683
    For Windows
         Download the zip from sourceforge:
         http://sourceforge.net/project/showfile … _id=324502
         and unzip it to the directory of your choice.
    For possible bugs, feature requests and any comments you may have please send us an e-mail at:
    [email protected]
    Thank you!

  • 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

  • Open source /  Commercial version, it's up to you! Why not for ESB products

    Please comment this forum and help us to get Sun's support for Open ESB as we can get it for open-Solaris or Glassfish.
    Thanks
    Paul
    Extract from
    http://www.pymma.com/eng/People/Blog-Paul-Perez-Chief-Architect
    Jonathan Schwartz new policy
    Few years ago, Jonathan Schwartz replaced Scott McNealy as SUN Microsystems CEO. Swartz's first decision was to convert Sun into an Open-Source company. Consequently, Solaris OS, Application Servers and even the Java language were opened and their sources published. At present, Sun is viewed as a major Open Source actor.
    Sun�s new sales philosophy proposes, on one hand, its best products in an open-source format and on the other hand, commercial support and hardware. The best examples of this new philosophy are Open-Solaris and Glassfish. You can download these products, use them and test them. After you have built applications with these tools and wish to move into a production environment, you can buy support from Sun.
    Open source or Commercial version, it's up to you!
    Alternatively, you can as well buy commercial versions at the first place. Even if open sources and commercial versions are slightly different than the open-source ones, more than 95% of their code is originated from the same development branch. Example : SUN proposes its queue messaging system with two similar versions, respectively named �SUN QM� and "Open-MQ". The only difference is the amount you pay for the technical support.
    Everyone can find advantages in this sales policy on Sun products: companies and developers try and develop for free and can rely on Sun support in production. As a matter of fact, Sun uses these �free� products as Trojan horses to conquer new market shares, penetrate new companies and sell Sun hardware.
    Why not for ESB Products ?
    Unfortunately, there is a small issue in this picture: Sun's ESB platform is the exception in this sales policy. In Fact, Sun proposes two different tools for ESB developments. The first product. "JCAPS", is a commercial product inherited from Seebeyond. The second product, "Open-ESB" is based on JBI specifications (JSR 208) and was developed from scratch about 2 years ago.
    Alas, JCAPs and Open-ESB are definitely two different products.
    JCAPS ignores JBI specifications
    JCAPS connectors are based on JCA specifications and not on JBI.
    Open-ESB development process is based on Web services specifications, JCAPS not.
    JCAPS and Open-ESB developments are not compatible.
    Hundreds other differences can be found between the two products.
    We can understand that for a while, for technical, marketing or business reasons, a company supports more than one product lines with the same functionalities. IBM does it and Oracle buying BEA will do it also.
    However, there are several things that Pymma would like to understand:
    Why the download of JCAPS is only available for authorized JCAPS Partner ?
    Why SUN does not provide support for open-ESB as it does for Glassfish, Open Solaris or Open MQ ?
    Why JBI or Open-ESB are never mentioned at most ESB seminars organized by Sun Centres in the UK ?
    Why Sun marketing, Gurus or consultants are prolix about JBI in the public lectures and technical forums, and at the same ignore Open-ESB when they advice companies ?
    Is the policy of Jonathan Swartz policy only applicable for Java Legacy applications (Application Server, Message queuing�)? not for ESB tools ?
    Of course, we already asked these questions to SUN but we never got clear answers.
    Thanks for clarifying Sun's position
    Many companies believe in JBI and their developers spend time and energy working on Open-ESB . These companies would certainly be interested to hear Sun's explanations on the above questions. They probably want to be sure that Open-ESB will not be just a prototype for the new JCAP version (only reserved for SUN JCAPS Partners). They certainly want to be credible by proposing SUN's professional support on Open-ESB as they do for Glassfish and Open-Solaris. After, they only need from SUN to clarify its position and give a clear prospective for the future of JBI and Open-ESB. We hope that through this blog Sun will hear us and we will give us clear answers.

    Hi Leonie,
    My iPhoto is iPhoto 11, version 9.4.2.  I believe my Aperture is the latest version but I don't know how to verify that when I can't open it.  I regularly accept any updates.
    How I restored my Aperture Library: I opened Aperture, clicked on Time Machine, and navigated to the Aperture Library that had been backed-up earlier in the day.  It took a while to restore. 
    When done, I opened Aperture (yes, at that point I could still open it).  It opened up on the still-empty Library, and I had to manually change it to the restored library, every time I opened aperture after that.  This was annoying, so, I then went to FINDER and deleted the empty Library.  I probably shouldn't have done this; I noticed it had the words "current default" in its filename. 
    From that point on, FINDER shows the restored aperture library (actually two restored aperture libraries, since I accessed Time Machine a second time to restore an even older backed-up version) but of course, not the empty Library that had had "default" in its filename.  And... I can no longer open Aperture.
    Hope you can help me, thanks so much,
    Glensdaughter

Maybe you are looking for

  • How can I get the events from a java program?

    I want to make a monitor to watch a java program.How can I get the events from the GUI of this program some as mouse cliking, keyinput. So I can watch these in my monitor. Thanks

  • Can I get refund for in-app purchase that doesn't work?

    I bought a "no ads" in-app purchase for a game. At first the ads were removed. After a few software updates, the ads come back. When I asked for a refund, apple refers me to the developer's web site. When I go to the web site, there is no way to ask

  • Spry Submenus Rolling Up in Multiple Broswers

    Hi! I'm trying to implement the spry menu on a website but it wont work for me. When you hover over the submenus they flicker and a submenu disappers. Here's a link to a page with this happening: http://celebrationsphotography.us/contact_test.html Th

  • Display losing brightness

    I could be wrong but when I look at displays of newer MacBooks theirs seem to be brighter than mine. I've had it for about 2 years now so maybe thats normal or is there something I can do to bring the brightness level or range back up? Also, its not

  • SAP MII SSC UI CUSTOMIZATION

    In SAP MII SSC (Self Service Composition Dashboard), There is some issue I am facing while doing some customization on the UI of SSC. I added two UI5 drop down with Dynamic Data Source and my requirement is populating the second drop down as per the