Confused about beans, packages, and jars

Hello,
I've created a package that contains three public classes, Animation, Animator, and AnimatedPanel. I won't explain what they do, since it's rather irrelevant; It is important to note that AnimatedPanel extends JLabel. The package is com.buchuki.animations
What I want to do is place the AnimatedPanel onto a JPanel, in Forte. To do this, it appears that I have to make the AnimatedPanel a bean. (or do it using extra code, but that defeats the purpose of using an IDE). I understand the basics of beans, but not much more. I've searched these forums and skimmed the Java Bean tutorial, but haven't found anything helpful. (at least, not completely helpful! ;)
The problem is, I want to make a bean out of the class com/buchuki/animations/AnimatedPanel.class, but not out of the other two classes in that package. However, I will want to use those other two classes to interact with the AnimatedPanel class in the application I am using. (I'll import com.buchuki.animations.*;)
From what I've read, it appears that you have to run the jar command from the parent directory of the package (ie: in animations/com/buchuki/animations, I run the jar command from animations/). But that would include all files in com, would it not? I guess I don't know what to do at all, but how do I make a bean out of AnimatedPanel and yet keep the bean as a part of the package that uses the "helper" classes? Is it a semi-advanced entry in the manifest file?
Thanks,
Dusty

Ok, I've figured out a few things in my research, but it's still not working. I guess that the Java-Bean: True applies to only one package, and not to the jar archive as I first thought.
However, I'm still a little unsure how I can include the package in the jar archive as a part of my program; is it that I should use the extension mechanism mentioned in the jar tutorial?
And at any rate, even with a manifest file like this:
Name: com/buchuki/animations/AnimatedPanel.class
Java-Bean: True
and archiving with:
jar cfm mainfest.txt animations.jar com
This creates the archive, but when I try to add new Java Bean in forte, it says that the archive is not a valid bean. What am I missing? Did I mess up the package thing, the compilation... what?
Thanks again,
Dusty

Similar Messages

  • Just bought a Nikon d750 and confused about adobe LR4 and PS6 support for the RAW files. I have DNG 8.7 but wondering if LR and PS will import direct soon Thanks for any advice

    Just bought a Nikon d750 and confused about adobe LR4 and PS6 support for the RAW files. I have DNG 8.7 but wondering if LR and PS will import direct soon Thanks for any advice

    Support for the Nikon D750 was introduced in the latest version of LR 5.7 and ACR 8.7 on Novemder 18th 2014.
    Further updates to LR 4 were stopped when LR 5 was released on June 9th 2013. No further updates for bug fixes and new camera support.
    Nada, LR 4 will never support Nikon D750. The Nikon D750 was introduced into the market in September 2014 some 15 months after further development of LR 4 was discontinued.
    You can use the Adobe DNG program (free download for the package) to convert the Nef (raw) files from your Nikon D750 to the Adobe DNG format which will permit you to import those into LR 4. This is the crutch provided by Adobe to allow for the processing of raw files with outdated versions of LR and ACR.
    You can also update the ACR plugin for PS CS6 to version 8.7 which can also work with the raw files from the D750. For direct support in Lightroom you will need to upgrade (paid) to version 5.7.

  • I'm horribly confused about student licensing and commercial use

    As the title says I'm horribly confused about student licensing and using it for commercial use.
    I currently have a Student Licensing version of Adobe Creative Suite 4 that I purchased through my school's journeyEd portal.
    Seeing how CS5 is now out I was browsing looking at prices (why not upgrade while I'm still a student, right?) and while browsing I bumped into one source that says that Student Licensing can not be used for commercial purposes, and this is when the confusion started. I remember reading before that we are able to use student licensing for commercial purposes, okay time to google search. I found one Adobe FAQ that says I can. .
    http://www.adobe.com/education/students/studentteacheredition/faq.html
    " Can I use my Adobe Student and Teacher Edition software for commercial use?
    Yes. You may purchase a Student and Teacher Edition for personal as well as commercial use. "
    and I found this old thread;
    http://forums.adobe.com/thread/314304
    Where an poster listed as an employee of Adobe states
    "There is no upgrade from the CS3 Educational Edition to the comparable CS3 editions sold in non-academic environments. If you have an educational version of for CS3 obtained legitimately (i.e., you qualified for the educational version when you obtained it), you may continue to use that software for the indefinite future, even for commercial use! You cannot sell or otherwise transfer that license, though! When the next version of the Creative Suite is released, you will have two choices: (1) If you still qualify for the educational version, you can buy a copy of that next version (there is no special upgrade pricing from one educational version to another; the price is already very low) or (2) you can upgrade from the educational version of CS3 to the full version of the next version of the Creative Suite as an upgrade from CS3 at the prices published at that time. "
    Okay cool, hmm what this? Adobe is asking me if I want to IM with live costumer service agent, sure why not? Then the conversation started and I asked her my question about using my CS4 license for commercial use, she asks for my product code and email to verify my product, then informs me I can purchase the upgrade version of CS5 and use that for commercial, okay great, but not really answering my question. I reword it and give her a link to that FAQ page it goes like this. ..
    "[CS Rep] : [My name], I would like to inform you that Adobe Student and Teacher Editions are not allowed for
    commercial use.
    [CS Rep] : However, you can upgrade your current software to a normal upgrade version, and you can continue
    using it for commercial purpose.
    [Me] : Then is the FAQ page mistaken? Because it is very misleading if it is. But thank you for the information.
    [CS Rep] : You are welcome.
    [CS Rep] : I apologize for the misleading information in the FAQ."
    . .And after that, I went back to being confused.
    SO my questions are. . . Can I or can't I use my Adobe Creative Suite 4 student licensing for commercial purposes? and If I purchase a Student Licensing of CS5 can I use that for commercial purposes as well?
    Sorry for the long post, I just want to be perfectly clear on what I can and can not do with my purchase.

    The rules differ in various parts of the world. In North America you can use it for commercial work.
    There are no student/academic upgrades. The pricing is so low that in many cases you're better off buying another full student license but you are eligible for upgrade pricing for commercial versions once you're out of school.
    You may not transfer the student license in any way.
    Bob

  • Problem with JSP using bean packaged in jar file

    Hi,
              I am trying to use a java bean in a jsp file. The java bean is packaged
              into a jar file. I am getting class not found compilation error. If the
              bean remains to be a seperated class file, everything work well.
              Does anyone know how I can use bean in a jar file within jsp , i.e. to
              allow the bean to be found during compilation ?
              Thanks,
              Terence.
              [email protected]
              

    Jacek,
              Thanks for replying.
              My JSP's are just files in my document root . However, I found a solution to
              my
              problem. That is to have the jar file defined in my weblogic.class.path. I may
              have missed some files in my original jar file which causes my problem.
              Mayby I should package everything into a web application for deployment. That
              will be my next step.
              Thanks anyway.
              Terence.
              Jacek Laskowski wrote:
              > Terence Lai wrote:
              > >
              > > Hi,
              > >
              > > I am trying to use a java bean in a jsp file. The java bean is packaged
              > > into a jar file. I am getting class not found compilation error. If the
              > > bean remains to be a seperated class file, everything work well.
              >
              > How do you use the JSP file ? Is it a part of web application ? If so,
              > the bean jar package should be located in WEB-INF/lib directory. It's
              > also recommended to put the bean class into a package, so it's not in
              > 'unnamed' package, and <jsp:useBean> can find it.
              >
              > >
              > > Does anyone know how I can use bean in a jar file within jsp , i.e. to
              > > allow the bean to be found during compilation ?
              >
              > see above.
              >
              > > Terence.
              >
              > Jacek Laskowski
              > HP Consulting
              

  • Confused about "files inside a JAR"

    I have a program that has a Properties file which I would like to "save" into the JAR file, so it is not outside the JAR.
    I know this can be done, because I've seen some Java programs that save their configuration between sessions, but not via a file inside its directory. This leads me to believe the file is maintained within the JAR itself, which would be REALLY handy and secure.
    Is this a correct assumption? If so, how would I do it? Here's a "test program" that we can play with, how would I save MyProperties' properties field into the MyProgram JAR?
    package SBX;
    import java.util.*;
    import java.io.*;
    public class MyProgram {
        // Instance Variables
        public MyProperties myProp = new MyProperties();
        public String stringOne = "Will this be loaded?";
        public String stringTwo = "How about this one?";
        // Main Method
        public static void main(String[] args) {
            new MyProgram();
        // Constructors
        public MyProgram() {
            if ((new File("properties.txt")).exists()) {
                myProp.updateProgram(this);
            System.out.println("1) " + stringOne);
            System.out.println("2) " + stringTwo);
            myProp.updateProgram(this);
            System.out.println("3) " + stringOne);
            System.out.println("4) " + stringTwo);
            myProp.updateProperties(this);
            // Now that we've "updated" stringOne & stringTwo and "updated" myProp and saved it,
            // we should be able to get the values "ONE" and "TWO" for print outs 1 & 2 when we next
            // run the program, instead of "Will this be loaded?" and "How about this one?", as we got during the first run.
            // However, the thing I need help with is saving the Properties to the JAR file so it's not accessable
            // outside of the JAR file. How can this be done?
    class MyProperties {
        // Instance Variables
        private Properties properties;
        // Constructors
        public MyProperties() {
            Properties defaults = new Properties();
            defaults.setProperty("stringOne", "ONE");
            defaults.setProperty("stringTwo", "TWO");
            properties = new Properties(defaults);
            try {
                FileInputStream fis = new FileInputStream("properties.txt");
                properties.load(fis);
                fis.close();
            catch (Exception e) {
                System.out.println("No properties file found, ignore this; one will be saved when the program exits.");
        // Methods
        public void updateProgram(MyProgram prg) {
            prg.stringOne = properties.getProperty("stringOne");
            prg.stringTwo = properties.getProperty("stringTwo");
        public void updateProperties(MyProgram prg) {
            properties.setProperty("stringOne", prg.stringOne);
            properties.setProperty("stringTwo", prg.stringTwo);
            try {
                FileOutputStream fos = new FileOutputStream("properties.txt");
                properties.store(fos, "A header");
                fos.close();
            catch (Exception e) {
                e.printStackTrace();
    }Thanks for any help!
    PS...writing demo programs is kind of fun :)

    Fossie,
    Yup... you can jar up your properties file... you just need to add it to manifest file and jar (the program) takes care of the rest... google that there's loads of existing articles.
    BUT, I don't think you can modify the properties file in the jar... it may be possible, but I just don't know how. Instead (I think) you ship your default properties file in the jar, but still save a local properties file to the same directory as the jar (obviously won't work for applets)... then you load your defaults, and the local settings over the top.
    and PS I don't see how sticking a properties file in the jar would "secure" it in any fashion... it's just a zip file after all... would you care to elaborate?
    Cheers,
    Keith.

  • [SOLVED] Confused about development packages

    To build an embedded linux image using minifs utility, I need to install some development packages. The packages listed in the tutorial are named for Debian based distros, with the "-dev" suffix. Some of the listed packages are: libz-dev, libelf-dev, libelfg0-dev, libncurses-dev, etc.
    I can't find these packages, and I'm a bit confused. I have read that these packages in Arch Linux have different suffixes denpending on the origin (-cvs, -git, etc.), but I can't find any packages with that suffixes. For example for ncurses:
    $ pacman -Ss ncurses
    core/ncurses 5.9-3 [instalado]
    System V Release 4.0 curses emulation library
    extra/cmus 2.4.3-1
    A very feature-rich ncurses-based music player
    extra/finch 2.10.1-1
    A ncurses-based messaging client
    extra/moc 20110528-5
    An ncurses console audio player with support for the mp3, ogg, and wave
    formats
    extra/naim 0.11.8.3.2-2
    An ncurses AOL Instant Messenger and IRC client.
    extra/ncmpc 0.20-1
    A ncurses (command line) interface for MPD
    community/echat 0.04beta1-3
    vypress compatible ncurses chat (can work without server)
    community/ekg2 0.3.1-2
    ncurses based Jabber, Gadu-Gadu, Tlen and IRC client
    community/ncdu 1.8-1
    Disk usage analyzer with an ncurses interface
    community/rtorrent 0.8.9-2
    Ncurses BitTorrent client based on libTorrent
    community/ruby-ncurses 1.3.1-3
    Module for interactive text console applications (ncurses)
    community/sniffit 0.3.7.beta-11
    very good packet sniffer for unix with ncurses interactive mode.
    community/vifm 0.7.2-1
    Ncurses based file manager with vi like keybindings
    community/yacpi 3.0.1-3
    ncurses-based acpi monitor.
    No ncurses-cvs, ncurses-git, ncurses-svn or the like is found. How can I find development packages?
    Last edited by doragasu (2012-03-09 22:38:03)

    doragasu wrote:So in Arch, packages include not only binaries + resources, they also include header files? If I install for example ncurses, also header files for ncurses get installed?
    headers, pkg-config, everything in one package, that is required for a compilation. we keep stuff simple
    Last edited by wonder (2012-03-09 22:37:46)

  • Confuse on document "Packaging and Deploying Your Providers"

    Hi..
    I am refering to articel in PDK Jan 2003, "Packaging and Deploying Your Providers".
    In Part "Packaging Your Provider"
    No2 = Where can i find the template war file?
    = How i extract them to my working directory.
    Overall..can anybody explain a little more detail about this?
    I am using Portal 9.0.2 V2...
    Thanks.

    The template application is located under pdk\jpdk\v2. Copy templte.war to a working directory and extract it with a unzip tool (like Winzip). Then I imported the files into jDev, and tried stuff out with that tool. There it's easy to pack and deploy template.war (or template.ear) againg too.
    Good luck!

  • Confusion about UEFI/BIOS and GPT/MBR compatibility issues

    So a user said in another post that they were NOT able to boot in UEFI mode and install Fedora even though it is UEFI compatible.  But this person was able to useLegacy mode and install Fedora, and furthermore, was able to "keep the Windows partition."  I'm guessing that means that Win 8 that came with it, which would be installed in UEFI/GPT mode, correct?  I'm specificly referring to the Y510P but from what I understand *every* laptop that comes preinstalled with Win 8 must be UEFI/GPT.
    So the way I understand it is that the installed Fedora is in "BIOS"/GPT mode rather than "BIOS"/MBR mode because you can't have both GPT and MBR on the same disc.
    I have just started learning about this UEFI/BIOS and MBR/GPT nonsense, and it's going to drive me crazy until I finally understand it. So I guess what I'm asking is:
    1) When I get my y510p I assume it will be in UEFI/GPT mode. Can I install non-UEFI distros alongside it as I take it was done with Fedora?
    2) If I install a linux distro alongside Win 8, do I have to worry about compatibility issues with a drive that is in GPT format? Or does the MBR/GPT issue have nothing to do with it, so I don't have to worry about ever changing my drive to MBR?  
    For example, I read that Win 7 must be installed either as BIOS/MBR or UEFI/GPT.  This can not be mixed and matched.  This means that if I could not get the Windows 7 installer to boot in UEFI I would have to install as MBR.  This also means I would have to format the drive and reinstall Win 8 on the MBR.  
    So my question is do other OS's like Linux have these restrictions?  (For example, if a particular distro will not boot in UEFI and therefor MUST install on MBR)
    3) I have a pendrive with YUMI installed with a ton of distros/tools/Win installs/etc. (It is a USB boot tool like unetbootin that allow you to add multiple bootable images.) When I tried it recently on my dad's laptop.  I have used it many, many times with my older computers, none of which were UEFI.  It works great.  Now that I've had a recent encounter with my dad's ASUS Windows 8 computer (not with the y510p yet) I found out that UEFI seems to be complicating the crap out of things (for me, at least.)
    So when I used this computer, I noticed that when I boot (with legacy mode enabled) and enter the "boot selection screen" in order to boot with USB, I have two options a) UEFI:"name of usb" and b) "name of USB". The UEFI option would NOT boot, but it would boot without the UEFI: option.
    So does this mean that I am booting in non-UEFI mode and once I have booted this way and choose a distro to install that it CANNOT install in UEFI mode?  I recently saw a tool called Rufus that I have yet to try that has an option to set the bootable USB to UEFI, so that would possibly work if I wanted to install a UEFI compatible distro (Arch linux is what I'm wanting.)
    4)  If installing a UEFI compatible distro (such as Arch) requires that the USB device be able to boot in UEFI mode has anyone been able to do this?  Has anyone even been able to boot a device in UEFI mode to do *anything* such as run a live linux?  
    I'm 99% sure I would be able to boot in legacy mode and run a live linux (because I did so on my dad's computer) but the problems arise when I consider how to INSTALL.
    I would really like to know the answers to these questions (as scattered as they are.) Any help would be appreciated!
    Unnecessary info:
    (I started learning about BIOS/UEFI and MBR/GPT the hard way a few days ago by trying for hours to install Windows 7 on my dad's Windows 8 laptop because I could NOT get Win 7 installation to work...it kept asking for drivers before I could install until I finally used the Windows USB install tool, put the stick in a different USB, AND formatted the drive as MBR because Windows 7 would NOT install on the existing GPT drive until I used diskpart.exe -clean. And I have read that Win 7 64 bit will work fine on a UEFI/GPT setup. I used the Windows 7 USB boot tool which did NOT give me a UEFI: and regular option. It showed up simply as "name of usb" without a UEFI in front. Since I read that Windows 7 must either be in BIOS/MBR mode or UEFI/GPT mode that this drive would not boot in UEFI mode, and I don't know why...Although I believe I read that Win 7 cannot be installed from a USB in UEFI/GPT mode, only BIOS/MBR.  UEFI/GPT mode requires a DVD install but I did not have a drive to test this.)

    I have a Y510p which is running dual boot Windows 8.1 and Arch Linux.   I think that it is strongly advised to do plenty of reading ahead of any install if you will be using UEFI and Linux so that you understand all the issued before making critical changes to the existing system.
    Yes, if the machine comes with Windows 8 (as mine did) then the disk will be formatted with a GPT partition table (instead of the old MBR partitioning scheme), and will boot using UEFI. If you are going to try to keep the existing Windows 8 system and add Linux then you will need to keep the disk with its GPT partition table and partition structure, but you can shrink the Windows 8 C: drive to make space for the Linux partitions that are needed ( a root partition and at least a /home and/or /opt partition and possibly a linux swap partition also ).  If you want to boot the Linux install via UEFI then you can simply add the required boot directory to the EFI System Partition (ESP).
    However it is very important that before trying to do any linux install that you switch off Fastboot from within WIndows 8 (or 8.1). Also most Linux distributions are in some difficulty booting using Secure Boot, though a few such a Ubuntu and Fedora are supposed to be able to do so. Hence it is much easier to work with Linux if Secure Boot is first switched off from the BIOS settings menu.
    The order of operations that I used was;
    1) Switch off Secure Boot from the BIOS - and boot back into the Windows 8 system to check that it boots OK.
    2) With Windows 8 running go into the settings and switch off Fastboot (which does a hybrid suspend when it shuts down instead of a full normal shutdown - if you don't do this then the memory gets overwritten when booting Linux in the future which means booting back into Windows will fail). 
    3) Reboot back into WIndows and check all is well, and if so then use the disk management facility within Windows 8 to shrink the C: drive to make room for the Linux partitions.
    4) Reboot to check Windows 8 still boots OK.  
    5) If you are going to update to Windows 8.1 then do so, and then update everything once it is booted (it is a huge update and takes ages!). Once done then you will likely have to update drivers for the graphics cards, the clickpad and possibly the wireless chip and ethernet chip. I found that I needed to get drivers that were newer than were available on the Lenovo website, by going to the relevant hardware manufacturer website (eg for synaptics for the clickpad). Then spent a week or so in the evenings getting Windows 8.1 configured the way I like it.
    6) Then I did a lot of reading about the various options for the boot manager that would suit a UEFI boot for a dual boot system for Windows 8.1 and Arch Linux and there was a choice of Grub, Gummiboot, rEFInd, and others - and after reading the details I decided on rEFInd as my boot manager which can boot not only any new Arch Linux install but automatically finds the Windows UEFI boot files and presents the options in a nice graphical window once the system gets past POST at bootup.
    7) It was important to check which partition was the ESP and to know what partitions I needed to create for the Arch Linux system.  Then I went ahead and booted from a usbkey to a uefi install system, and very carefully proceeded with a standard Arch Linux install, being particularly careful to know where to put the rEFInd boot manager files and the kernel and initrd files. Also I used efibootmgr to write the appropriate NVRAM boot entry in the motherboard memory so that the uefi boot system knows where to find the rEFInd uefi boot files in the ESP.
    8) Once complete the system boots to Arch Linux as the default, with a nice Windows icon which you can select with the arrow keys within the boot timeout period (default 20 seconds).
    I noted also that it is possible to create boot stanzas in the rEFInd boot manager config files which allow rEFInd to chain load other Linux systems or even other bootloaders if you wish - so it is very flexible. So if you want to you could install a grub standalone set of diretories/files so that if the normal linux boot fails then you can select the grub icon from rEFInd and chainload grub to boot either the same Archlinux install, or point to a third linux distribution if you have more partitions containing that third install which might be Ubuntu or Mint or ....
    Either way although getting to understand how uefi boot works is a learning curve it is actually generally simpler than the old legacy BIOS boot. With uefi you no longer need an MBR on the drive, and only a suitable EFI System Partition which has to be VFAT formatted. However if you want to have one of the linux distributions booting from legacy MBR then you need to create an MBR at the start of the drive - so you would need to move the start of the first partition and create a suitable sized Master Boot Record otherwise MBR boot can't work. If you do that then of course you have to be careful if the Windows partition is the one being re-sized that it doesn't mess up the Windows boot! However since using uefi to boot rEFInd allows a chainload to grub/gummiboot or other bootloaders then there should be no need to mess with MBR booting if you go down that route.
    If you are interested in rEFInd then the author Rod Smith has a good set of documentation that describe the details at http://www.rodsbooks.com/refind/
    He is also the author of a really excellent disk partitioner for GPT disks - http://www.rodsbooks.com/gdisk/
    Clearly it is necessary to read up on the boot facilities available for any linux distribution that you plan to put on the system.
    One nice thing is that uefi boot with an efistub supported kernel build is really fast on the Y510p. My system boots Arch linux in about 7 seconds to the KDE login prompt once the POST is complete and that only takes a couple of seconds.  Of course Windows is much slower once it is selected at the rEFInd screen and takes somewherearound 40 seconds or so to boot, but at least Linux is super fast!
    Anyway I hope that this helps.

  • Confused about polkit-gnome and lxpolkit [solved]

    I recently updated and new version of goffice and gnumeric came down with this warning:
    ==> The agent is no longer autostarted by default except in GNOME Flashback.
    For Xfce, LXDE etc., "lxpolkit" is the suggested lightweight alternative.
    See https://wiki.archlinux.org/index.php/Polkit#Authentication_agents for
    more details.
    I use xfce4 and do not know gnome-polkit installed at all. I removed it and pacman did not complain about dependencies. What exactly do I need lxpolkit for? I am able to use sudo without it.
    Last edited by maggie (2013-09-16 15:40:49)

    I'am confused too:
    Using lxde I was not even aware that there is an alternative to polkit-gnome, as it is always
    mentioned as quasi dependend on gvfs:
    The gvfs package needs to be installed, along with polkit-gnome for the polkit rules.
    This seems to be wrong as neither gvfs nor the polkit rules do depend on polkit-gnome authentication-agent in any way.
    Informations through the wiki(s) are very inconsistent!
    From LXDE-Page:
    polkit-gnome provides an authentication and will need to be started on login:
    $ mkdir -p ~/.config/autostart
    $ cp /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop ~/.config/autostart
    What is it good for? Is there any reason to start it twice? The file mentioned is installed at '/usr/share/applications/polkit-gnome-authentication-agent-1.desktop' by default.
    Polkit-Page:
    To autostart it everywhere except in GNOME and KDE, copy the file /usr/share/applications/polkit-gnome-authentication-agent-1.desktop to /etc/xdg/autostart/
    LXDE-Wiki:
    gvfs and its dependencies (optional, but highly recommended):
    policykit-gnome (required for authentication for volume management)
    And last but not least the awareness that the LX alternative exists since March 28th, 2010 where PCMan himself told us polkit-gnome is not needed anymore:
    LXPOLKIT – SIMPLE POLICYKIT AUTHENTICATION AGENT:
    Generally when one needs to use policykit, he or she needs to install policykit-gnome. Now we have our own.
    A new component LXPolkit was added. It’s minimal policykit  authentication agent.
    As far as I get it, polkit-gnome only provides the 'query of password window' and can be replaced by lxpolkit which is more lightweight.
    And as it was never 'auto'started (see above) except in GNOME, the pacman.log message is IMHO highly questionable and confusing.

  • How to use packages and jar files for applet?

    Hi!
    My applet takes a class say a.class.
    Now this class depends on other classes that are packaged
    in a directory and put separately.
    I want to put this applet on the web.
    So how do I manage the .class files in he package.
    I have tried using jar file format.But I was not able to get it working.
    Can someone please help me?
    Thanks

    Use Archive instead of codebase:
    <APPLET CODE="MyApplet.class" ARCHIVE="MyApplet.jar" WIDTH=400 HEIGHT=300></APPLET>

  • Confusion about BPM suite and BPA suite

    Hi,
    I'm very very new to Oracle BPM.
    I just checked the website and found Oracle provides two suites - BPM and BPA for business process management. I'm quite confused what's the difference of their usage? It looks to me that they are very similar to each other in functional.
    Is there any article that has already explained their difference?
    btw: if i want to choose a suite just for modeling, implementation and monitoring purpose, does that mean a BPM suite is more suitable?
    Thank you
    Lesley

    Hi Lesley,
    BPA is an robust process modeling tool used by business analysts to model both their processes and the entire enterprise. BPA has many different types of diagrams that let you see the different levels of decomposition and abstraction. As you'd exect, BPA has a robust process simulation capability. If you hit the BPA forum (Business Process Analysis Suite you'll get more information about it from experts in BPA.
    Oracle BPM was built and architected from the beginning as full life cycle Business Process Management (BPM) tool. It is similar to BPA in that it supports process modeling, documentation and simulation. I use the same diagram to explain the process to executives, managers, IT, SME and business analysts. As a business analyst, the tool is not complicated and can be learned in just a couple hours.
    Here's where the two differ. Oracle BPM was architected from the beginning as a full featured Business Process Management tool that implements and monitors business processes. Its capabilities include:
    <li> Logic - BPA is not a BPM tool so it is not intended to support the process logic needed for runtime. To support this, Oracle BPEL is used in conjunction with BPA. As a developer using Oracle BPM, I use templates and drag and drop to create much of my logic. Once I catalog an object it can be reused across multiple projects either by using the Project Dependency option or by importing the artifacts. I test my logic either by using the method editor debugger or at the process level. As I create objects used in my logic using Oracle BPM, I inherit attributes provided by introspected components. This means that if you have an ERP system object with 138 attributes, you do not have to rebuild this object from scratch in Oracle BPM.
    <li> Runtime / Execute the Business Processes - End users interact with the processes at runtime using an OOTB Workspace. End users are given various roles. When they log into the Workspace, the end users only see the work item instances that are in the roles that they have been assigned. There is an Engine that stores the work item instance information as it flows through the processes at runtime. The Engine is like a traffic cop, ensuring that the right work item instance goes to the right person in the right activity at the right time.
    <li> UI - The End user interface screens and complex end user interaction with a variety of screens can be built inside the Oracle BPM toolset's editor. The forms you build are automatically presented to end users in the Workspace.
    <li> Integration to Existing IT Assets - Oracle BPM can expose and consume IT components directly or through a service bus. Once consumed, the components can be used by any process needing to invoke them at runtime.
    Hope this helps,
    Dan

  • Question about ear file and jar file

    I have an ear file that I built using ant. Say my project name is test. So my ear file name is test.ear. Everytime I try to deploy the ear file, weblogic complains about not finding the test-ejb.jar. I'm confused as to why weblogic expects a test-ejb.jar in the ear because I didn't intend to put one in. My question is whats inside the ear file that weblogic thinks it needs the test-ejb.jar? I went through the file, but couldn't find anything that should tell weblogic that it should find a test-ejb.jar. In addition, I don't have either weblogic-ejb-jar.xml or ejb-jar.xml in the ear file. Any help would be appreciated.
    Thanks in advance.

    An EAR should have an "application.xml" in the META-INF directory within the JAR. You might take a look at it. I suspect there is an EJB module specified by that name.

  • Database for packages and jars

    Java heaviliy relies on the package concept and the idea that people use their web domain inversely as a structure for the packages is good. I find, however, the task of finding the right jar file for the package I need sometimes a bit cumbersome. Going into J2EE and other stuff you end up with many jar files on your computer.
    I have had the idea of putting together a database listing the contents of all my jar files, even designed a script that creeps into the depth of all the subdirectories to look for jar files and query their contents. Keeping such a database in shape is, however, not an easy task. I was wondering whether such a database exists already.

    In a sense, this is what maven does
    maven.apache.org

  • Confused about wiki pages and groups (i'm new to wiki services).

    we set up wiki services on our newly upgraded 10.5 server, but there is something that i can't seem to understand.
    it seems that the only way to create a new wiki is to create a new group. i don't quite get how you can have some members of one group and some members of another, access the same wiki page.
    this will get very messy for our company because we want to set up wikis for the multiple projects we have going. this means that the amount of groups will escalate rapidly and surely will cause problems and confusion.
    we currently have 7 groups created on the WGM and my company is about 50 employees.
    each group currently has their own wiki which leads me to my original problem/question.
    if we create a new wiki, that creates a new group, and we don't want that.
    i could totally be missing something here as i mentioned i am new to the wiki services and 10.5 server in general.
    if you need more information from me, let me know.
    thanks in advance.

    anyone?? bueller...? bueller...?
    i can't seem to find any information about this. i even looked here http://www.apple.com/server/macosx/resources/ in the wiki documentation and didn't find anything.
    perhaps i wasn't entirely clear in my initial post.
    say i want people in the accounting and marketing group to share a wiki page. the only way i know how to do this, is to create a new group (let's call it wiki_group) and to have members of both accounting and marketing be members of wiki_group.
    as i mentioned in my initial post, this is going to be a huge problem.
    the only work-around that i can think of is to have the accounting group and marketing group be members of both. this is not acceptable due to security and resource sharing.
    how can i create wikis without having to create a new group, and to have members of other groups view and edit other wikis?

  • Problems with package and jar

    Hi guys,
    I am trying to create a package, jar so that I can reuse it later.
    - This is my package
    /* START OF CODE */
    package com.me.MyClass;
    public class MyClass {
    public void myMethod() {
    /* END OF CODE */
    - I compile it using
    % javac -d c:\jdk1.3\jre\classes MyClass.java
    - Then I jar it
    %jar cf c:\jdk1.3\jre\classes\MyPackage.jar c:\jdk1.3\jre\classes\*.*
    - I set the classpath to
    c:\jdk1.3\jre\classes\MyPackage.jar
    - Then I import it
    I set the classpath in the environment variables (i run win2k)
    c:\jdk1.3\jre\classes\MyPackage.jar
    - But when i compile, i get the following error
    MyProgram.java:4: cannot resolve symbol
    symbol : class MyClass
    location: package me
    import com.me.MyClass;
    ^
    Thanks for helping!

    This should start out in
    c:\jdk1.3\jre\classes\com\me\MyClass.class
    assuming the folder "com" is the only one in
    "classes"
    you can just cd \jdk1.3\jre\classes
    then
    jar cf MyPackage.jar *
    you need the nested folders in there com\me\
    after you make it you can put it in jre\lib\ext
    and use it from there without resetting you path

Maybe you are looking for

  • 8.6 to 9.2.1 to 10.2

    I am trying to update an old machine I have for my daughter. It is a G4-PCI with 120 Gb drive, and 256 RAM. It hasn't run well for a long time, so I decided rather than use it for a paper weight, I would give it an overhaul and make it a usable machi

  • Mail won't go online

    When I click Get Mail I only get the triangle by the Inbox. The error message is "The server XXXX refused to allow a connection on port 995". This is the port that has always been in use. This is a pop3 account. I have checked all settings and verifi

  • My mini iPad screen is flashing all the time

    My mini iPad screen is flashing all the time

  • External Number Error in MM01

    Dear Gurus, I tried creating a new material A00001212 in MM01 (Material Master Record), Select material type HAWA, press enter. System keeps displaying or the systems changes A00001212 in to material 99990 and error shows  " Number 99990 not defined

  • Checkpoint not complete in DB13

    Hi all, I'm getting this warning message every day in the checkDB job of DB13 : BR0976W Database message alert - level: WARNING, line: 193239, time: 2008-02-13 13.01.39, message: Checkpoint not complete