When should we need JavaFx?

Hi,
Does JavaFX suitable for back office appliaction which is mainly for update/insert/delete records and show editable table, update the database etc.. , these type of appliaction no need the advance feature on multi-media. At this moment, the javaFx is lack of some advance components, is it right? or just directly use the swing components for data table?
Should we start to use JavaFX for the new project? At this moment, we use the JSF 1.2 with Ajax for our application, and now we evaluate the new tech for new our projects.
Thanks

Hmm, okay I can't leave a comment like that as the last thing to be said about using JavaFX for real-world projects at the moment. I think you could use version 1.0 for a multi-person, multi-month project now, sure the current API's don't have all of the components we might have elsewhere but there is enough to get in an be productive with what is available. Why not!
JavaFX's advantages are not just in the flashy graphics but also are in other things like having a dedicated language orientated towards writing GUI's. You might lose some productivity in having to write or adapt things like Tab and Table components but you are going to get a number of other advantages.
* JSF applications consume a lot of memory on the server. In a JavaFX application all of the client state is held out on the client reducing the memory footprint of the server.
* WebApps are always slow to build and deploy. If you are really, really lucky you might get some speed out of hot-deploy approaches but I've yet to see hot-deploy work on a real-world sized project. Not that I'm saying it can't be done, I'm just saying generally something worms it way into your technology stack and stops hot-deploy working. With JavaFX you can build and run the client straight out of the IDE.
* Dedicated binding support within the language instead of having to use XML in JSF.
* On the bigger projects we've found that you generally end-up spending quite a bit of time tweaking the "off-the-shelf" components anyway either for bugs or for lacking functionality. For example we did Oracle JSF/ADF last year and still had to tweak things to get pagination through large result sets working how we wanted it. So you if you're going to have to do component coding anyway, and need specialists within the team to do this kind of work then why not roll-your-own components, you'll get exactly what you want, no more and no less.
* JavaFX skinning, decorating and layout looks a lot easier than having to deal with CSS and remember once you've learned the JavaFX way, unlike with CSS it's not going to work differently across different browsers.
Anyway that's enough on the soapbox, fat clients are back! Bring em on! :-)

Similar Messages

  • Acrobat Pro 9 for mac won't launch, reloaded from disk when hard drive needed to be replace. It's in applications folder but there is an X on the Acrobat Reinstall icon. What should I do.

    Acrobat Pro 9 for mac won't launch, reloaded from disk when hard drive needed to be replace. It's in applications folder but there is an X on the Acrobat Reinstall icon. What should I do.

    Hi Janice,
    What version of Mac OS are you using?
    Adobe does not recommend migrating the software from one disk to the other.
    Please run the setup file for Acrobat and reinstall the software. You might want to delete the existing version of Acrobat installed before reinstalling it.
    Regards,
    Rave

  • Why should I need to pay "overseas transaction fee" when I buy an iphone app in Hongkong dollar currency.

    why should I need to pay "overseas transaction fee" when I buy an iphone app in Hongkong dollar currency.

    I have bought some apps in apple store and pay it by Hongkong currency Credit Card. Afterwards I found there has some extra fees on statement and have been clarified as "overseas transaction fee"...

  • When should message protocol be FILE CONTENT CONVERSION

    HI one and all,
    What doubt keeps haunting me is when should message protocol be selected FILE CONTENT CONVERSION.
    for what format of sender information IS THIS USED ?
    Ur answer is awaited.
    Thanking you,
    Ranjith.

    Ranjith,
    Consider the below cases u are sending XML file as
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Test_MT xmlns:ns0="urn:test">
       <EmpProfile_Msg>
          <Empno>1001</Empno>
          <EmpName>J</EmpName>
          <DepartmentName>SAP</DepartmentName>
       </EmpProfile_Msg>
    </ns0:Test_MT>
    But while writing the output u need the file as
    1000 , J, SAP
    Then u have to go for File Content Conversion at the Receiver adapter.
    Similarly ,consider the other way around u are sending the file input as
    1000 , J, SAP   and u want XML , then u have to do FCC in sender adapter.
    Hope it clears!!!
    Best regards,
    raj.

  • When should I use static variable and when should not? Java essential

    When should I use static variable and when should not? Java essential

    Static => same value for all instances of the class.
    Non-static => each instance can have its own value.
    Which you need in which circumstances is completely up to you.

  • J1INCHLN when should I use error control mode checkbox

    Hi Experts,
    I am using t-code J1INCHLN for creating remittance Challan.
    But in ECC6, EHP 5 there is new functionality added & no documentation available for same.
    There is one field with tick option called Error Control Mode.so when should i use this functionality.
    Can anyone help on this?
    Thanks and Regards,
    Sameer

    HI
    Please refer the note no :  1567443
    Manual Control in J1INCHLN to change currency key/doc type
    "After this, if you will run J1INCHLN, you will get a checkbox at the end
    with 'Error Control Mode' which will be selected by default. If you want
    to change document type, currency or rate during processing, you should
    uncheck it else it will take you to the last screen."
    I hope note is allready available in your system hence you are getting above cheeck box.
    If you want to change the document type and currency or rate during posting then you need use the check box.
    Regards
    Madhu M

  • When should object casting be used?

    Hi,
    just wondering something. Saw there that returning objects from methods and downcasting the returned object is bad. When should casting be used? I currently have a program that has an object that contains a HashMap as a field. When I try retrieve objects from the HashMap using the relevant key, I have to cast them to what they were originally! Is this bad programming practice or is it the only way to do things?
    Thanks.
    // example of retrieving object from key
    dbDirectory = (String)dbInfo.get("dbDirectory");

    LeWalrus wrote:
    Hi,
    just wondering something. Saw there that returning objects from methods and downcasting the returned object is bad. When should casting be used? I currently have a program that has an object that contains a HashMap as a field. When I try retrieve objects from the HashMap using the relevant key, I have to cast them to what they were originally! Is this bad programming practice or is it the only way to do things?
    Thanks.
    // example of retrieving object from key
    dbDirectory = (String)dbInfo.get("dbDirectory");
    Before generics, this was a perfectly acceptable practice. Generally speaking, you use type-casting when the compiler is unable to ensure the type validity at compile-time, but you know it is correct, so you supply the extra information to the compiler so it knows everything is correct. Sometimes you need to circumvent the strong type-checking part of the language for flexibility, but this is something that should be used very sparingly.
    Now it would be better to use generics so that the compiler will know at compile time that the values in your map are Strings, instead of just Objects.

  • Why or When should we use Execute Immediate in PLSQL??

    Hi Frnds,
    Long Ago i have received a interview question that ...
    How can U create a table in the PLSQL object(Function or procedure)?
    But the thing y should we use execute immediate?
    In which scenario we should we should use????????????
    Why or When should we use Execute Immediate in PLSQL????

    OR
    http://stackoverflow.com/questions/18375990/oracle-what-does-execute-immediate-means
    For DML you'd use it when running statements that you don't have available at compile time, e.g. if the column list is based on a selection from the user.
    In your case it's being used because DDL cannot be run as static SQL from within PL/SQL. Only certain query, DML and TCL commands are valid. Anything else has to be treated as dynamic.
    I'd say it's rare to need to use DDL from a PL/SQL block. TRUNCATE might be reasonable; if you find anything creating or dropping objects on the fly then that might be more of a concern as it can suggest a suboptimal data model.
    EXECUTE IMMEDIATE itself does not automatically commit; but if you execute DDL then that will behave the same as if you ran it outside PL/SQL, so it will commit in your case, yes.
    Incidentally, I'm not sure why your code is using an intermediate variable to hold the statement; that's useful if you want to display what it's going to run maybe, but you don't seem to be doing that. What you have could be done as:
    EXECUTE IMMEDIATE 'TRUNCATE TABLE BD_BIDS_EXT_DET';
    Thank you

  • When is JInitiator Needed?

    Hello,
    I'm no expert in Oracle Forms Developer, and I have the
    following questions:
    - What is JInitiator exactly? When do I need it and when don't
    I need it?
    - (When) Can Oracle Forms be deployed on the web without the
    need to download JInitiator?
    Thank you.

    Just out of curiosity, suppose the field was
    non-final. Would volatile still not be needed?If the value never changes, and if you don't let a reference leak out of the constructor, then I'm not sure if you'd need volatile.
    In general, it's possible for one thread to set a value, and another thread to never see it, if there's no syncing and no volatile. I thought that something in the new JMM prevented that in this particular case--i.e., a constructor, but I'm not sure if that's true, or what the details are.
    The answer should be here: http://java.sun.com/docs/books/jls/third_edition/html/memory.html#17.4

  • When Should I use the Inner Classes ?

    When Should I use the Inner Classes ?
    What is the advantage(s) and the disadvantage(s) ?

    When I use innerclasses?
    1) Allmost allways when I need simple owner child behavior.
    2) When I need a behaviour, that is quite small, and used only once, I make it anonymous inner class. For example specialised streams and threads.
    3) Enumerations

  • When should a subclass have its own fields and when should it use its super

    When should a subclass have its own fields and when should it use its superclass' fields?
    Hi, thank you for reading this post!
    Let me use a specific example to ask my question.
    public class BankAccount {
         private double accountBalance;
         public double getBalance() {
              return this.accountBalance;
    public class SavingsAccount extends BankAccount {
         private double accountBalance;
         public double getBalance() {
              return this.accountBalance;
    }In the bank account example, both BankAccount and SavingsAccount will have a method getBalance(). Therefore, they
    both require a account balance field. My question is since getBalance() for both classes will perform the exact same
    operation, when should I omit declaring the getBalance() method and the accountBalance field in the subclass, and
    when should I include them?
    My own thought is when we never have to instantiate a superclass object (e.g. an abstract class), then we place
    common fields in the abstract superclass and have subclasses access these fields via protected getter/setters to
    access the superclass' fields. This is the principle of reuse.
    But when you do need to instantiate a superclass and the superclass does need to maintain its own fields, then
    I would need to duplicate the accountBalance field and getBalance() method in the subclass.
    Is my thinking correct or incorrect?
    Thank you in advance for your help!
    Eric
    Edited by: er**** on 22-Aug-2011 20:19

    er**** wrote:
    If SavingsAccount inherit BankAccount.getBalance()...getBalance() would return BankAccount's accountBalance. This is NOT the correct result we want.Actually, I think it's precisely what you want.
    We want getBalance() to return BankAccount's accountBalance when we use a BankAccount object, and SavingsAccount's accountBalance when we use a SavingsAccount object.I seriously doubt that. I think you're confusing a BankAccount with a Customer, who can have more than one account.
    In every system I've ever seen, a SavingsAccount IS-A BankAccount - that is to say, it's a genuine subtype. Now, it may well contain other fields ('interest'?) that a normal account wouldn't, but 'balance' ain't one of them.
    Winston

  • ODI Agent - when do i need to use?

    can anybody explain me the perpose of ODI Agent? and when do i need to use Agent?
    Edited by: knidhi on Oct 5, 2009 3:31 PM
    Edited by: knidhi on Oct 5, 2009 4:07 PM

    If I could finesse your answer slightly, hopefully to help (or confuse):
    There are multiple agent types:
    - the Local (No agent): this opens additional threads in the current GUI process. The agent will just run as additional threads in your current process, using the same settings as your GUI environment.
    - a standalone agent: if you start an agent from the commandline using the agent.sh/bat. This will start a "listener agent". It starts up and passively listens for execution requests. When a request is passed to the agent, it includes all the necessary information to connect to the repository etc. All this information is there in the invocation package. (for more information on what is passed look at the documentation for the invocation API or at the ODIInvoke webservice)
    - a scheduler agent: when you start a scheduler agent from the commandline with the agentscheduler.bat/sh file, it will read from the odiparams.sh/bat file the connectivity paramaters for the repository, where it will "look itself up" based on the agent name passed, to find out what scenarios it should be scheduling. This agent may also take requests, just like the standalone agent described above.
    - a task may also be invoved at the opertaing system command level using startscen.bat/sh. This will start a standlone agent for the duration of this execution only, which not listen for other requests, it reads its parameters from the command line (for which sceenario, version and context) and from the odiparams file for the repository connectivity parameters as to where to find the requested scenario and where the execution will be logged.

  • When do i need to create table spaces ?

    hi all,
    i know that any database has one table space and one data file at first creation , but
    when do i need to create another table space or data file ? do i need that when oracle tells me that there is no space anymore or what ?
    thanks

    newbi_egy wrote:
    hi all,
    i know that any database has one table space and one data file at first creation , but
    when do i need to create another table space or data file ? do i need that when oracle tells me that there is no space anymore or what ? In oracle database, the concept of storage segregation is done by two ways, using the schema and using the tablespace. So assume that you have two applications . One is used for HR related work and another is used for Finance and both kind of data is stored in one single database only. So how would you maintain such requirement? There are two ways to do it. One, you make two different schemas for each of the application and call them, for example HR schema and Fin schema. Now, you can create objects related to each of the application in it's own schema and store it in may be a single tablespace, Users. But this is going to be a little problematic like what would happen if you have lost the data file of that tablespace? You would be losing the data related to both the applications. So the better option would be to use two different tablespaces and store the data related to each application in both of them.
    Understand that tablespace is a logical structure only. The only thing that's physical is going to be those data files which are stored under the tablespace. So if you are just running out of space in a data file of a tablespace, you do not need to create another tablespace. Take it like this that if you are running out of space for your family in the house, you can either make a new house for them or you can even build a new floor for them. Which one would be easier to manage, the new floor since a lot of ground work is already done for you. And that's what is the case if you have run out of the space in the data file. For this,you can simply create a new datafile(building a new floor) or even extend the existing one(construct a new room in the same floor, if you have space) . But creating a new tablespace won't be something that you should be doing for the reason of space being exhausted IMO.
    Aman....

  • When should I logout my server session?

    Hello Everyone,I am a newbie using TopLink.
    I create my server session when my application is loaded, and acquire a client session from this server session for every client operation.However,I don't know when should I call logout method of the server session,as mentioned in Developer's Guide, "When you are finished using a database or server session, you must log out of the session using Session method logout. Although TopLink provides a finalizer to release sessions, this is a last resort. Oracle recommends that you always log out of your sessions."
    Many thanks in advance.

    You should only logout the ServerSession once your application will no longer needs it. For most applications this is not until the application is shutdown.
    --Gordon                                                                                                                                                                                                                                                                                                                                               

  • What are the mapfiles for and when should I use them?

    Hi,
    what are the map files for and why/when should I use them?
    /usr/lib/ld/map.noexstk
    usr/lib/ld/map.noexbss
    /usr/lib/ld/map.noexdata
    /usr/lib/ld/map.pagealign

    Hi, I'm sure you've read the comments, but for the benefit of those who haven't: /usr/lib/ld/map.noexstk # Linker mapfile to create a non-executable stack definition within an # executable. /usr/lib/ld/map.noexbss # Link-editor mapfile to create a non-executable bss segment definition # within an executable. /usr/lib/ld/map.noexdata # Link-editor mapfile to create a non-executable data segment definition # within an executable. These stop the various segments from being executable. Which could reduce the risk surface for exploiting security holes in an application. /usr/lib/ld/map.pagealign # Linker mapfile to create page-aligned data within an executable. Aligning the start of the data segment can reduce the number of TLB entries needed to map the data. So the smallest TLB page size is 8KB, then we have 64KB, then 4MB etc. If the data starts on a 4MB boundary then it can be mapped with 4MB pages, if not then it has to be mapped with 8KB pages until a 64KB boundary, then 64KB pages until we get to a 4MB boundary. You sometimes get a bit of performance from this, but you may also get performance stability from it. If the mapping is random sometimes it works well, sometimes it works less well. Regards, Darryl.

Maybe you are looking for

  • How to insert a picture into excel file using ALE AUTOMATION

    Hi every body, I have to write report that export data from abap to exel the data contain a logo but I don't know how to insert picture to excel using ALE AUTOMATION. Please help me! Thank you!

  • How to populate a form from database ?

    Hi, I am new to struts, and I have a small project , I want when I click a link I will have a jsp file with a form of data from database, can you please help me, thanks, you help is appreciated.

  • [SOLVED] Firefox, Thunderbird rendering problem

    Hi, I have problem with Firefox and Thunderbird. Sometimes it shows me only a white page, the text appears after mouseover. It doesn't happen in other applications. I am using openbox and fglrx (everything should be in newest version - I installed Ar

  • Re-order point...

    Hi, What is different between manual and automatic re order point..? and which scenerios we can use manual and automatic re order point..? Thnaks & Regards, Senthil S

  • SelectOneRadio problem - Help!

    I am using selectOneRadio for the user to select a particular report they would like to run. When a radio button is selected though, certain fields may need to be disabled for that particular report, and other dropdowns need to be reset. I utilized a