How to swap Effects on a video processor?

I have written a JMF based program that plays a video and applies an effect (I have written) to it. The code works just fine, but now I want to add the ability to add or swap other effects. The problem is I can't figure out how to correctly do this, and can't find any examples to model. Here's some of the relevant code:
     MediaLocator locator = new MediaLocator(videoFile);
     try {
          processor = Manager.createProcessor(locator);
          } catch (NoProcessorException e) {
               System.out.println(e);
          } catch (IOException e) {
               System.out.println(e);
     processor.addControllerListener(this);
     processor.configure();
     public void controllerUpdate(ControllerEvent event) {
          processor = (Processor) event.getSourceController();
          if (event instanceof ConfigureCompleteEvent) {
               processor.setContentDescriptor(null);
               TrackControl[] controls = processor.getTrackControls();
               for (int i = 0; i < controls.length; i++) {
                    if (controls.getFormat() instanceof VideoFormat) {
                         videoTrack = controls[i];
                    else
                         controls[i].setFormat(new AudioFormat(AudioFormat.LINEAR));
                    try {
                         Codec codec[] = { new BorderEffect() };
                         videoTrack.setCodecChain(codec);
                    } catch (UnsupportedPlugInException e) {
                         System.err.println(e);
               processor.prefetch();
               processor.start();
          } else if (event instanceof RealizeCompleteEvent){
               SwingUtilities.invokeLater(new AddComponentsThread());
          } else if (event instanceof EndOfMediaEvent) {
               processor.setMediaTime(new Time(0));
               processor.start();
     If I change the line Codec codec[] = { new BorderEffect() };toCodec codec[] = { new ConvolveEffect() };it works fine with the new convolve. Alternately if I change it to:Codec codec[] = { new BorderEffect(), new ConvolveEffect() };the video gets both effects added. But so far I haven't been able to react to a user button click to change from one effect to the other.
First I tried to call processor.removeControllerListener() and processor.stop(), call a method to change the codec referenced just above and then call processor.addControllerListener(this) and processor.configure() all over again. This didn't work.
After a bit of reading I have think there are two other tactics:
*(1)* use a PluginManager and call addPlugin() or removePlugin() to enable / disable. I can't find any examples of using a PluginManager and some things aren't clear. Like - one you call addPlugin() do you still need the lines about new codec, setCodecChain() etc?
*(2)* chain processors together to add effects, remove a processor from the chain to remove effects. The DataOutput of a processor allows the output of one to be fed to the input of another.
I haven't been able to get any of these methods to work so far. Any ideas on what is the proper way to swap in/out effects?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

No ideas yet?
After trying some more things I have my program working ... well working in that I can apply different effects, but I think it is a pretty ugly solution. Here is a representative code snippet:
      if (ae.getActionCommand().equalsIgnoreCase("GREYSCALE")) {
               processor.stop();
               removeComponents();
               processor.removeControllerListener(this);     
               try {
                    processor = Manager.createProcessor(locator);
               } catch (NoProcessorException npe) {
                    System.out.println("No Processor Exception");
               } catch (IOException ioe) {
                    System.out.println("IO error creating player");
               setCodec("GREYSCALE");
               processor.addControllerListener(this);
               processor.configure();                               
          }I wrote a custom method removeComponents() which calls removeAll() on the JPanel containing the video and controls to essentially wipe them out. Then remove the ControllerListener and create a whole new processor. (THIS does not seem to be an elegant or correct way of doing things!) Another custom method setCodec() is used to specify which codec to use, a ControllerListener is added and the new processor is configured.
This DOES work, but I am quite sure it isn't the best or most elegant way of doing things. Any advice would be much appreciated.
Edited by: craighagerman on Oct 24, 2009 6:34 PM

Similar Messages

  • How do i get this effect in the video 0:7 - 0:8 That the lines come together and build a logo? pls h

    How do i get this effect in the video 0:7 - 0:8 That the lines come together and build a logo? pls help me      http://www.youtube.com/watch?v=mfU8bZDKAMQ&list=HL1352499622&feature=mh_lolz

    This looks like the final logo was created with several layers probably in Illustrator, then the file was most likely imported into After Effects and revealed by animating mask paths.

  • How to add voice effects to a video

    how can i add voice effects to a video!

    You need to supply much more information.
    For example: Which video app are you using?
    In which format is the video?
    I presume you want to add the effects post production, so to speak, not live.

  • How do I stop those effects in the video screen?

    How do I stop those effects in the video screen?
    cube spins, pictures popping up, etc.
    I've looked in all the menus and in iChat Help, but I can't locate the off button.
    thanks,
    Richard
    G5 dual 2 gig   Mac OS X (10.4.6)  

    Hi Richard,
    Is this a camcorder ?
    If so it is from the camera in demo mode.
    You need to set it to Camera mode with the tape out like you were going to strat recording.
    You would use the same feed to record direct to a VCR on use a TV as monitor.
    5:59 PM Sunday; April 16, 2006

  • How to imitate this effect on a video?

    How to imitate this effect on a video? Frozen Frames etc.
    http://img.fotocommunity.com/images/Spezial/Fotokunst/Bildstoerung-4-a23797032.jpg
    Need to how to imitate this effect.

    Search the web for "digital glitch" or "digital noise". A simple technique woul be using the Time Displacment effect with a pattern created by the Mosaic effect....
    Mylenium

  • Hi I'm new in this Ae and i loved it and started to get into editing but when i watch videos on how to use effects like magnify and CC light burst 2.5 it doesn't work why?

    hi I'm new in this Ae and i loved it and started to get into editing but when i watch videos on how to use effects like magnify and CC light burst 2.5 it doesn't work why?

    First, I want to clear up some vocabulary issues. After Effects is not intended for editing video. Editing involves cutting shots together to tell a story. Premiere Pro edits video. While you technically can cut video together in AE, Premiere is much, much better for that.
    After Effects is used for creating shots - visual effects, compositing, motion graphics, animation, color correction, color grading, etc.
    What exact version number of AE (down to the decimal points) are you using? Plus the questions Todd asked, plus the info in the link he gave.
    Also, if you're new to AE, you should really start here. This resource will give you a foundation in how to actually use After Effects that will probably clear up your current problem and prevent much more frustration in the future.

  • How do I fix my audio/video in iChat 4.0.9?  it has worked perfectly until last night.

    How do I fix my audio/video in iChat 4.0.9?  it has worked perfectly until last night.  I have been having video calls iChat with my granddaughter for 4 weeks.  All of a sudden last night I wasn't able to complete the video/audio.  We were able to iChat with writing.  The message I got was to go to connection doctor.
    The error log -
    2011-04-24 19:33:43 -0400: No data has been received for the last 10 seconds.
    Audio channel info: local machine using 10.0.1.2:16402, expecting remote machine to send to 69.138.244.124:58521
    Video channel info: local machine using 10.0.1.2:16402, expecting remote machine to send to 69.138.244.124:58521
    Every time we tried to connect I got the same error message.
    I use an airport extreme - my granddaughter has some kind of wifi - but the error was on my side not hers as she connected to her friends.
    Please help.
    Thank you.

    Hi - I have a cable modem from comcast.
    I am not sure I understand all your questions, suggestions - so I will copy what I have when I go into the airport utility under internet.
    Do you have four tabs (You may have less)  I HAVE 4 TABS
    In the First tab what does it read at the Bottom ?  AT THE BOTTOM OF THE FIRST TAB (INTERNET CONNECTION) IT DOES SAY "SHARE A PUBLIC IP"  WHEN I LOOK AT THAT SETTING - I COULD CLICK INSTEAD BRIDGE MODE OFF, OR DISTRIBUTE A RANGE OF IP ADDRESSES.  BUT FOR NOW THE ONE THAT IT IS ON IS THE SHARE A PUBLIC IP.
    "Share a Public IP" ?
    Or "Bridge (Off) Mode" ?
    I DON'T UNDERSTAND WHERE TO LOOK FOR THE INFO BELOW.  I ALSO HAVE UNDER THE INTERNET CONNECTION TAB - CONNECT USING ETHERNET AND ETHERNET WAN PORT AUTOMATIC (DEFAULT)
    THE 2ND TAB IS TCP/IP AND THERE IT LISTS CONFIGURE IPv4: USING DHCP
    IP ADDRESS: 69.138.244.124
    SUBNET MASK  255.255.248.0
    ROUTER ADDRESS  69.138.240.1
    DNS SERVER  68.87.73.246  AND 68.87.71.230  (THESE ARE FILLED IN THE BOXES AND NOT CHANGEABLE.
    THE 3RD TAB IS DHCP
    DHCP BEGINNING ADDRESS 10.0 .1 .2
    DHCP ENDING ADDRESS 10.0.1.200
    DHCP LEASE IS 1  THEN DAY
    4TH TAB NAT
    CHECKED IS ENABLE NAT PORT MAPPING PROTOCOL
    I HAVE BEEN USING THIS AIRPORT EXTREME FOR AT LEAST ONE YEAR.
    THE ONLY DIFFERENT ISSUE IS THAT I HAD BEEN TRAVELING AND USED MY DAUGHTER'S AIRPORT EXTREME LAST WEEK.  I HAVE NO IDEA ANY OF THAT INFO - BUT I DO KNOW THAT THE AIRPORT EXTREME LISTED IN THE UTILITY IS THE ONE AT MY HOME THAT I AM WITH NOW.
    THANK YOU FOR TAKING THE TIME TO TRY TO HELP ME.  I REALLY APPRECIATE IT.
    JUDY
    Between that drop down and the tabs should be the info  on how it connects to the Modem.
    It may list that Puiblic IP.
    It may list another LAN IP (one from the Modem)
    Does it start 192.168....
    Or 172.16 (or up to 172.32....)
    Or possibly another 10.... number ?
    If the modem is issuing IPs to the LAN there are two things that can  effect things
    One is the fact the computer gets two IPs (even though the mac can only display one)
    And If you used Port Forwarding in the Modem the Place (IP/Computer or device) that it was pointing to may not be the Airport Base Station any more.

  • How do i fade out a video clip?

    how do i fade out a video clip?

    ChiDonDada
    What version of Premiere Elements are you using and on what computer operating system is it running?
    In the absence of that information, I will generalize, tending toward Premiere Elements 11....
    a. Right click the Expert workspace Timeline video, select Fade from the pop up menu and then the wanted Fade Audio or Video command.
    b. In version 11, you could click on Applied Effects/Applied Effects Palette/Opacity Panel and the shortcut Fades there.
    c. You could keyframe the Opacity property in the Applied Effects Palette/Opacity or via the video track content rubberband at the Timeline Level.
    Please supply more information for fading in out your video and audio track contents.
    Thanks.
    ATR
    Add On...If you have Premiere Elements 11, you may be interested in the information on these Fades found in one of my blog posts
    http://www.atr935.blogspot.com/2013/06/pe11-timeline-fade-out-shortcuts-and.html

  • How can I get metddata of video?

    Hello
    I'm developing video player & annotation system with JMF & Fobs4JMF.
    video player works well.
    however, I want to get metainformation about video source.
    such as video resolution, the number of total frames, duration, and so on.
    on the controlPanelComponent of JMF, media property busson shows that meta-information.
    but I want to get those information and save into my variables.
    how can I do that?
    thanks in advance.

    You have to look a few different places for the info you're looking for, but here's some sample code to help you out...
    /* Load our input video into a DataSource */
    DataSource video_in = Manager.createDataSource("test.avi");
    /* Create a processor and realize it for our video */
    Processor P = Manager.createProcessor(video_in);
    P.realize();
    /* Extract the TrackControl for the visual track of our video */
    TrackControl tc = null;
    for (TrackControl temp = P.getTrackControls()) {
         if(temp.getFormat() instanceof VideoFormat) {
              tc = temp;
              break;
    /* Check to make sure we have video data */
    if (tc == null) {
         System.err.println("Error. Source has no video data!\n");
         System.exit(1);
    /* Get the VideoFormat object of our video */
    VideoFormat vf = (VideoFormat)tc.getFormat();
    /* Print out some info about our video */
    System.out.println("Frame rate:  "+vf.getFrameRate());
    System.out.println("Duration:    "+P.getDuration());
    Systme.out.println("Total frames:"+(int)(vf.getFrameRate() * P.getDuration()));
    System.out.println("Resolution:  "+vf.getSize().getWidth()+"x"+vf.getSize().getHeight());
    System.out.println("Encoding:    "+vf.getEncoding());

  • How to convert and edit HD video

    Because of the widely using of HD Camcorder, now it is really convenient to record family parties and other things you are interested in. Nowadays, people would like to share their things with the rest of the world through Internet, such as youtube.com and other video websites.
    This guide aims to show you how to convert and edit the video you recorded using your HD camcorder
    What you need is a powerful HD Converter.
    Step 1: Load Video
    Click “Add File” to load the video that you want to convert.
    Step 2: Choose Your Output Profile and Settings.
    From “Profile” drop-down list you can choose your output profile according to your need.
    You can also click “setteing”adjust the settings of your output video, such as “video/audio encoder”, “Video/audio Bitrate”, “Channels”, “Resolution” and so on..
    Step 3: Video Editing.
    This powerful MTS Converter allows you to do many video editings.
    1. Click "Effect". to make special effect for your movie.
    You can adjust the “Brightness”, “Contrast”, “Saturation” and also you can use “deinterlacing” to improve you output effect.
    2. Trim: .
    “Trim” function allows you to pick up any part of your video to convert. You can just convert a part of your video that you want.
    3: Crop: .
    Cut off the black edges of the original movie video and watch in full screen on your iPod using the "Crop" function.
    Step 4: Conversion.
    After you have done all the steps above you can click “Start” button to start your conversion.
    Here I also recommend you some High Definition video converter, MTS Converter, M2TS Converter.
    Hulu Downloader
    Total Video Converter
    Best DVD Ripper

    @ Tamwini
    Your only goal is to sell software.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • How do I upgrade from OS X processor version 10.5.8 to 10.6 or later. Is it worth the upgrade?

    how do I upgrade from OS X processor version 10.5.8 to 10.6 or later? Is it worth the upgrade?

    I have 5.8 on iMac, but it is not server version, it is a usual OS install. I would say, that the only thing there worth upgrading is adding more memory. You should also keep upgrading Firefox, OpenOffice etc. for comfortable work and avoid memory and resource-hungry or buggy applications (like Safari). I have recently used iMovie to work with video, and I never had problems with image editing there. I can compare to 6.8 on my MacBook - I cannot say there is something I missing on this iMac 5.8 which is present on 6.8.
    In general, I am an old mac user, and I had experiences where OS upgrade speed up things, like going from 10.2 to 10.3, but I still recommend to make sure that you will get rid of the bugs while keeping functionality - notoriouse examples are Photoshop 7 that stopped working on new systems, Gimpshop (and underling gimp 2, though some cured it) and even some Finder features.

  • How do i delete photos and videos from my ipad without deleting them from my imac/

    how do i delete photos and videos from ipad without deleting them from my imac?

    Deleting photos and videos on your iPad will have no effect on your iMac.

  • Full Guide: How to convert any DVD and videos to iPod Touch/Classic/Nano

    This full guide includes four parts.
    (1) How to Crack DRM video and audio files
    (2) How to Rip a DVD to put it on iPod/iPhone 3G/PSP/Zune/Sansa View/iRiver……
    (3) How to convert and burn WMV/AVI video directly to DVD
    (4) How to transfer video/music from iPod to computer
    Part 1: How to crack DRM video and audio files
    Daniusoft Digital Media Converter Pro(http://www.topsevenreviews.com/daniusoft-digital-media-converter-pro.html) software is the quickest and easiest solution to remove drm from WMV, M4V, M4P, WMA, M4A, AAC, M4B, AA files by quick recording. You can use this professional tool to crack drm and put them on your iPod/iPhone 3G/PSP/Zune/Sansa View/iRiver……
    The process is as follows:
    Step 0: Download Daniusoft Digital Media Converter Pro(http://www.topsevenreviews.com/download/video-music-converter/daniu-digital-media-converter-pro.exe), install and run it.
    Stpe 1: Run the software and click “Add…” button to load WMA or M4A, M4B, AAC, WMV, M4P, M4V, ASF files
    http://www.topsevenreviews.com/guide/how-to-convert-drm-protected-music-movie/digital-media-pro-n2.jpg
    Step 2: Choose output formats. If you want to convert protected audio files, please select “Convert audio to” list; If you want to convert protected video files, please select “Convert video to” list.
    Stpe 3: You can click “Settings” button to custom preference for output files.
    Click “Settings” button bellow “Convert audio to” list for protected audio files
    http://www.topsevenreviews.com/guide/how-to-convert-drm-protected-music-movie/audio-output-setting.jpg
    Click “Settings” button bellow “Convert video to” list for protected video files
    http://www.topsevenreviews.com/guide/how-to-convert-drm-protected-music-movie/video-output-setting.jpg
    Step 4: Start remove DRM and convert your DRM protected music and videos by click on “Start” button.
    Part 2: How to rip a DVD to put it on iPod/iPhone 3G/PSP/Zune/Sansa View/iRiver……
    With Aiseesoft DVD Ripper you can rip and convert any DVD to most popular videos supported by your iPod, iPhone 3G, PSP, Zune, Sansa Video and other portable devices.
    Step 0: Download Aiseesoft DVD Ripper(http://www.topsevenreviews.com/aiseesoft-dvd-ripper.html), install and run it.
    http://www.topsevenreviews.com/image/aiseesoft-converter-suite/dvdripper-n2.jpg
    Step 1: Click “Load DVD” button to load your DVD.
    Step 2: Select the output video format you want from the “Profile” drop-down list.
    Step 3: Click the “Start” button to start your conversion and In a short while it will be finished.
    Tips:
    You can also use the powerful editing funtion (Snapshot, Merge, Effect, Trim, Crop)to edit your DVD.
    Part 3: How to convert and burn any video directly to DVD/VCD/SVCD
    With Cucusoft DVD/VCD/SVCD Creator Pro you can burn any AVI/WMV videos to DVD.
    The process is as follows.
    Step 0: Download Cucusoft DVD/VCD/SVCD Creator Pro(http://www.topsevenreviews.com/cucusoft-dvd-creator-pro.html), install and run it.
    http://www.topsevenreviews.com/image/burndvd-n2.jpg
    Step 1: Choose the “To DVD” button and click "Opne/Add" button to import WMV/AVI files to convert WMV/AVI to DVD.
    Step 2: Select Merge or Batch function.
    Batch Function, Support converting multiple files to DVD VCD SVCD MPEG1/2 at the same instance
    Merge/Join function, Support selecting several clips from different sources and combine them into one single output
    Step 3: Set your preference to burn WMV/AVI to DVD.
    Step 4: Click "More Advanced Settings" button to set advanced settings for your files.
    Step 5: Choose the “Output Folder” and Click “Convert & Burn” button to start.
    Part 4: How to transfer video/music from iPod to computer
    With Aiseesoft iPod to Computer Transfer you can tranfer or backup your videos and songs to your computer.
    Step 0: Download Aiseesoft iPod to Coumputer Transfer(http://www.topsevenreviews.com/ipod-to-computer-transfer.html), install and run it.
    http://www.topsevenreviews.com/image/ipod-to-computer/connectipod-n2.jpg
    Step 1: When you connect your iPod to the computer via USB cable and run the program, the program will detect and recognise your device automatically.
    Step 2: Then from the file list, you can choose the audio or video files that you want to transfer and a detailed list will be displayed at the right for your to choose.
    Step 3: Choose the songs you want to transfer and then click the "Start Transfer " button below the list to begin transferring files from iPod to computer.
    Step 4: In a short while your conversion will be finished
    Hope the guide collections can be helpful for all of you.
    Mac Video Converter(http://www.macsoftreviews.com/iskysoft-video-converter-mac.html)
    Best DVD Ripper(http://www.topsevenreviews.com/)
    iPhone Ringtone Maker(http://www.macsoftreviews.com/aiseesoft-iphone-ringtone-maker.html)

    Use Automator. QuickTime is Automator compatible. However, you will first need to download the "iPod" script from the Automator web site. For a tutorial and instructions, download Brian Gary's "Automator for the People" Ripplecast from the iTunes podcast area.
    2.0GHZ G5/533MHz G4 DeskTop/400MHz G4 PB   Mac OS X (10.4.3)  

  • How to apply effect to a certain time frame?

    Hello everyone,
    I was just wondering how can I apply an effect to a full avchd file, but specify what time frame it will effect?
    Say if I want the video to be black and white for the first 5 seconds and then transition from that black and white into color how do I actually do that?
    Do I need to split the video up into pieces and apply the efect to each piece? How do I split the full video into smaller sections in Premiere Pro if so?
    Thanks.

    Is there a way to customize the cross dissolve at all? It seems a bit basic. Or are there any cool techniques you suggest I do with the cross dissolve?
    You can adjust the Duration of the Cross-dissolve. In the stated case, you are trying to add an Effect to only part of the Clip. The reason for the Cross-dissolve is to ease the viewer into the Effect, so you want the Cross-dissolve to be essentially invisible.
    Even with Transitions that are not "easing" the audience into an Effect, I usually keep it very simple. Butt-cut, Dip-to-Black and Cross-dissolve are what I use 99% of the time. Most of the rest have never been used, with perhaps an exception for Titles and their animation.
    The Keyframing can allow for this too. A good, simple approace would be to go to the Effects Control Panel (where you added your Keyframes), and Rt-click on the first one, choosing Ease-Out from the flyout menu. You'll notice that the graph of your Keyframes now looks different, as does the icon for the Keyframe. Go to the next Keyframe, Rt-click and choose Ease-in. Notice the changes to both that icon and also to the graph. If you look closely, you will see that on the graph, each Keyframe now has a pair of "handles." You can click and drag on the point on these handles to alter the velocity of the Ease-Out/Ease-In functions. Note: there are many more ways to alter the velocity, but this is a simple starter example.
    Good luck,
    Hunt

  • How to get a 29.97 video file into a 23.98 sequence without it being jumpy

    I filmed on a miniDV tape and recorded in 24PA, and when i captured it in 'Advanced Pulldown', it still gave me a file that is in 29.97 fps. because of this, i get those horizontal lines every so many frames
    I wanted it to be 24PA so that i could drop it into a timeline with other videos in the same fps.
    so i create a sequence with all the right compressor settings and aspect ratio and all of that, but i change fps to 23.98.
    Then i drop the video in the timeline. it asks if i want to change the settings of the sequence to match the video, but i click no, because if i say 'yes', it'll change the sequence back to 29.97
    so i put it in there render it, and then i get a video that is really jumpy almost like it has some kinda strobe effect on the video.
    does anyone know how i could fix this problem??!

    Are you sure you shot 24pA? And not just regular old 24p?
    Just dropping it in the timeline will not work..that is NOT the way to get it to 23.98. Try using Cinema Tools, or even FCP in the TOOLS menu, the REVERSE TELECINE option.
    Shane

Maybe you are looking for

  • Error while trying to open physical standby database - (DATA GUARD)

    Hi Everyone, I have problems in opening the database of the physical standby in read- write mode/ read only mode. I have a primary server which is running on 2 node RAC and the standby on a seperate single server being used as DR. I recently got this

  • How to get user input to keep in array in the form of int[]?

    I really want to know how to get user input to keep in an array. Or if it's impossible, can i use the value in "int" and transfer it to an array?

  • Running OS Command on NT from a pakage

    Hi every body, I want to write a pakage that contain - a procedure to run an OS commnad on NT platform. - and another procedure that copy a table to a text file on NT disk Can you help me?????

  • ICP Top member

    Hi Peers, Before i ask my question what i know before that is very important. In Entity dimension where ever i tagged it as "is ICP", system automatically generated ICP Members. up to this i have done and understand ICP Top how can i understand? Wher

  • Connecting - JavaFX + Servlets(??) + design patterns

    Hello I'm a total noob in JEE world so I'm sorry if I'm asking for sth really basic. I would like to connect my JavaFX application with a simplest there is JEE-server. My guess is - Servlets (a good guess?). But before I start, here are some obstruct