Desktop Application Frameworks

It seems that there a lot of frameworks available for developing web applications with Java but I couldn't find any article that talks about the ones available for desktop applications.
I am new to frameworks--and software engineering in general--so I would appreciate every help.

I want to create a standalone application in Java and I heard that I can make it easier if I follow a framework.
After having a look at frameworks for Java, it just completely confuse me, as it is very different from frameworks for Flash (which I do most).
The java framework covers much more stuff than what Flash framework covers (which mainly regulate the way how the SWF communicate with the server and the design of the classes )
I still wonder what is the definition of framework in Java ? Do I really need one for a standalone application, or I just need to follow the MVC design for my classes ?
I just need to get it right before I actually work on my program.
Thanks.

Similar Messages

  • What data binding framework to use for EJB(JPA) - Swing desktop application

    Hi!
    I am developing EJB server application which mostly uses the same entities and session EJB's both for web and for desktop user interface. While JSF is working nicely, I am stuck with necessity to make decision with data binding framework to use for desktop application - I investigated:
    - JSR295 reference impementation at java.net (beans binding)
    - Eclipse JFace
    - JSR295 implementation at kenai.com (better beans binding)
    - JGoodies binding
    At present I like JGoodies, but I am not sure whether I am not missing something - I guess - large enterprises should develop a lot of desktop applications as well and what binding framework they are using?

    user454720 wrote:
    At present I like JGoodies, but I am not sure whether I am not missing something - I guess - large enterprises should develop a lot of desktop applications as well and what binding framework they are using?No, not really. I create them sometimes but they are service tools, not part of the main application framework. Generally you keep everything on the server, web based - this keeps it secure, accessible and contained. With all the web 2.0 javascript toolkits available nowadays you can go quite far creating a desktop experience in a browser, with limitations.

  • Calling a soap web service from a java desktop application

    Hi,
    Does anyone know how to call a soap web service from a java desktop application? I've seen examples using Apache Axis, but it sounds like Axis needs to run on a web server and we are trying to avoid that. My initial thought was that, "of course we need a web server", but I'm wondering if there is a way to do this without a web server.
    Any help is greatly appreciated.
    thank you,
    Julie

    If you are the consumer you don't need any web server. The web server is only needed in the provider end.
    In java 6 there is a built in framework to call web services without the need of third parties (such as apache axis)
    take a look at:
    https://jax-ws.dev.java.net/guide/Developing_client_application_with_locally_packaged_WSDL.html
    http://java.sun.com/webservices/technologies/index.jsp
    For the provider end there is also a built in http server to expose web service via HTTP without the need to
    use any external web server.
    take a look at:
    http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html

  • Access to local file system for desktop application

    As a .NET and VBA developer/user, I have found Flash to be a
    great RAD development solution for certain desktop app. projects...
    if only actionscript could access the local file system and talk to
    local (preferably non-XML) data-sources!
    I'm not familiar with the latest version of Flash CS3 &
    Actionscript 3.0
    Is there any reliable way Flash CS3 can be programmed to access
    the user's local file system - that is, as a stand-alone desktop
    application????

    Thanks for the response.
    I hope Adobe catches a clue ... with Microsoft's Windows
    Presentation Framework and the new ability of easily implementing
    Flash-like animation on .NET apps, Adobe is going to have to get
    busy. Stand-alone desktop apps still rule (as opposed to web-based)
    in the business world, and they are driven by data. If Flash was
    capable of easily talking to local data-sources (Access, Excel,
    Text etc.), it could significantly increase its adoption as a
    widely used business RAD tool. The Flash IDE is great and rivals
    any Microsoft RAD IDE + users love the slick Flash GUIs.

  • TypeLoadException: "Types from custom Windows Runtime components are not supported in desktop applications"

    When trying to use a custom Windows Runtime component in a desktop application, a TypeLoadException is thrown.
    Why aren't custom Windows Runtime components supported in desktop applications? Is this something that will change in the future?
    Thanks,
    Tom
    luck favours the prepared

    If you are targeting the .NET Framework 4.5 you could try to add a <PropertyGroup> element to your project file and a reference to the WinMD file as described here:
    http://stackoverflow.com/questions/12136585/using-custom-windows-runtime-components-in-non-metro-applications
    Thefull list of the WinRT classes that are available to desktop apps is available here:
    http://msdn.microsoft.com/en-us/library/windows/desktop/hh920511%28v=vs.85%29.aspx#windows_runtime_classes
    Please refer to the following links for more information:
    http://msdn.microsoft.com/en-us/magazine/jj651570.aspx
    http://stackoverflow.com/questions/12745703/how-can-i-use-the-windows-ui-namespace-from-a-regular-non-store-win32-net-app
    https://software.intel.com/en-us/articles/using-winrt-apis-from-desktop-applications
    Please remember to mark helpful posts as answer and/or helpful.

  • Developing desktop applications

    Hi.
    I'm coming back to desktop development. I've been away for a long time.
    In order to productively develop professional desktop applications, is JavaFX mature enough to become the right choice? Is JavaFX a complete replacement of Swing?
    Thank you.

    It would be great if there were any means of developing n-tier applications using java desktop (JavaFX in this case) as the front-end, loading dynamically both content and views. There are a few examples of potentially helpful third party frameworks and libraries to assist with this.
    It would be interesting to see if Oracle came up with an official end to end development, runtime and tooling stack for n-tier JavaFX apps.
    Consider the webfx approach of a JavaFX "browser" that consumes and renders fxml documents with attached scripts.
    https://github.com/brunoborges/webfx
    Or the sadly defunct JFX Flow project (Managing navigation flows in JavaFX clients):
    http://www.zenjava.com/jfx-flow/
    The zenjava enterprise series (connecting Spring Servers with JavaFX):
    http://www.zenjava.com/series/building-jee-applications-in-javafx-2-0/
    There is also captiancasa (merges JavaFX and JSF):
    http://www.captaincasa.com
    And open dolphin (client/server framework for JavaFX):
    https://github.com/canoo/open-dolphin
    The Henley Data sales sample app (nice example of connecting a JavaFX client app over REST to an application server backed by a relational database):
    http://www.oracle.com/technetwork/java/javafx/samples/index.html
    And j-rebirth (work in progress but includes a bunch of client application framework facilities for JavaFX):
    http://www.jrebirth.org
    And datafx (simplifies taking data streams and getting the data into the complex virtual flow JavaFX controls such as TableView and TreeView):
    http://www.javafxdata.org
    Most of the above frameworks are immature enough that you could reasonably consider developing your own rather than reusing something existing (depending upon your project). It's not like you have develop everything yourself. It's java and there is lots of existing stuff out there, especially when you start looking at client/server comms and server side processing and database access. But unfortunately there is not much that helps really pull it all together into a coherent end-to-end platform for rapid development.
    Drag and drop prototyping tools which go from UI to database aware app, like you get with something like MS Access, don't really exist for JavaFX. You can mock up the UI quick in SceneBuilder, and code up the logic for the UI controls quickly and easily enough. Systems which manage the flow of screens though aren't all that great, so you'll need to spend some time on that. You will also you need to choose and make use of appropriate libraries for stuff like session management, server communications, data transfer, etc.

  • Desktop applications

    It seems like Windows 10 somewhat "acknowledge" that there are still desktop application users around.
    Windows 8 and 8.1 was less so.
    The main problem was not really the Metro (oops, I mean Modern) GUI (pure desktop apps, even older works just fine), but the statements from Microsoft regarding the future of WPF and other .Net technologies, even Silverlight and perhaps .Net platform as
    a whole.
    It seems like Microsoft has realized that a huge number of users are still running desktop applications on their W8.1, W8, W7, Vista and XP machines and that Windows 10 is partly a continuation of that line (where 8 and 8.1 had some sidesteps which
    were not exactly welcomed commonly).
    This leads to my questions regarding future desktop application development:
    Will WPF be revitalized and further developed ?
    Will "something better" take over for WPF ?
    Will technologies like Entity Framework be further developed ?
    Other bits (like WCF, WWF, Prism, ASP.NET etc.)
    Will .Net it self be further developed ? and the languages, particularly C# ? (even if the languages are not really part of .Net)
    The real question boils down to:
    Should I trust that developing desktop applications by .Net technologies mentioned above and which work on old OS's as well as the newest and future is a safe investment (providing users still want them) ? Or will e.g. WPF see the same faith as Silverlight
    I know it is early, but anyway important for both users and developers to plan for their future and I wish Microsoft could be more open with these kind of Roadmaps (which I think we all deserve)

    Also, our apps are running on many XP's, several hundreds Windows 7 and soon Windows 8 and probably Win 10 after it's release.
    Store apps cannot run on the older OS's before Windows 8.
    Given your requirements, the answer must be to stick with what works
    for you today - Win32. MS aren't going to be able to kill it, too many
    critical pieces of software use it.
    So again, anyone knows something about MS future plans regarding desktop application development for older and newer OS's ?
    No, and I suspect MS don't really know which way to turn either.
    Dave

  • Developing desktop applications for windows

    Hello
    I am currently doing a final year project which is an encryption software for the company that i did my placement with. i have done the core part of the program but i need to know how to make it look professional. i need to be able to have it as an installable desktop application (Only for Windows), with an icon provided by me which is used when files are encrypted using the application. i have no idea how to achieve this effect and i seek knowledge.
    thanks in advance for your help

    There are many levels of professional software in my opinion. There is software that works, meets the requirements and doesn't crash. That's professional in the sense that it does what it is supposed to and does it well. People pay for that even if its green-screen non-GUI based. TONS of stuff still working/written for non-GUI environments and plenty pay for it.
    When related to Java and desktop applications, I feel there is only truly one real way to brag you have written a professional software suite. That is when your application not only adheres to what it should do, but provides a means to extend it without having to wait for major releases, and the UI is VERY consistent, not cluttered, not tons of buttons/menus/dialogs/windows all over the place and the underlying coce of the app is truly written well to make good use of areas of Java such as resources (properly closing files when not using them, returning DB connections when done, using WeakReference of nulling out refs to objects no longer needed). It is very very easy to cause a memory leak in a java application if you do not watch at all times for object refs that are left hanging.
    By extensibility, I mean providing some means of plugging in new pieces of code to enhance the product or fix existing issues (bugs) and providing a simple update facility that can either auto-update, or allow an install to add the update.
    It is exactly these reasons that keep me plugging away on my plugin engine (www.sourceforge.net/projects/genpluginengine) and UI framework built around plugins. While the engine is almost done and is very similar to the Eclipse plugin engine, the UI framework will be ongoing for some time. Making a very professional read-to-run-out-of-the-box free/open-source framework built on high-quality well tested plugins is not easy to accomplish with a couple hours a week and only me and one other doing it. I would love to get more help shortly, adding tons of great features that all developers could benefit from, and soon I will start asking various java boards for help, see if anyone is interested in contributing. The goal is a professional looking, solid underlying code, well/highly tested UI framework that can be used by anyone to quickly build their specifics and not worry about the more common UI application stuff such as file i/o choosers, help, preferences, authentication, access levels/rights, views and editors, and more. With a 3rd project working to add tons of Swing UI components, the final UI framework will provide a number of high-quality components like rounded/shaded/gradient filled panels with shadowing, calendar/date pickers, wizards, and more, again all highly tested to ensure ultimate quality.
    If you are interested, feel free to post back to this response with email, or join up at the above mentioned sourceforge project and start contributing to the mail list.

  • Error Installing Adobe Air from Story Desktop Application Installer

    This is truly driving me nuts already.
    Every time I try to install the Desktop Application from the Story website, it says I must install Adobe Air. So I click Install, it shows the progress bar to 100%, then errors out with a window. The window header reads "Adobe AIR Installer" and the main section of the window reads "Couldn't write the application to the hard disk. Please verify the hard disk is available and try again." - There is a Retry and Cancel. Retry does it all again with same results.
    No, I had no previous versions of Adobe Air. So I tried installing AIR direct from the Adobe website, and it installs fine. So I go back to the Story webpage and try installing the Desktop Application again and the exact same set of events as described above happens. I uninstalled the AIR install, tried again, same result.
    I had Production Premium CS3 previously, and installed Production Premium CS5 UPGRADE. All the programs in the suite work like a charm!
    I'm running Windows 7 64 bit with 208 Gig free on my C drive, as well as over 500 gig free spread out over two other drives. 8 Gig memory, and two Nvidia Qadro FX 3500 video cards (If that matters at all). Full admin rights to the PC, not limited in any way.
    A quick Google search shows plenty of other people having the same problem,  just no known fixes I've found!
    HELP!!!
    PS- I have a picture of the error message, but the insert picture link is greyed out and won't let me add anything to this post.

    Here is the installer log entries as requested:
    9/3/10 11:34:54 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] Starting app install of file:///Users/Shared/Downloads/AdobeStory.air
    9/3/10 11:34:54 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] UI SWF load is complete
    9/3/10 11:34:55 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] UI initialized
    9/3/10 11:34:55 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] beginning UI styling
    9/3/10 11:34:55 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] UI styling complete
    9/3/10 11:34:55 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] Unpackaging to /private/var/folders/dJ/dJl0jNt6GK4MiC2esOh-GU+++TM/TemporaryItems/FlashTmp0
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] unpackaging/validation is complete
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] application is bound to this version of the runtime
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] app id com.adobe.AdobeStory
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] pub id 4875E02D9FB21EE389F73B8D1702B320485DF8CE.1
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] Application located at /Applications
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] The certificate of the installed app fails to match either the signature or migration signature of the AIR file
    9/3/10 11:35:01 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] starting cleanup of temporary files
    9/3/10 11:35:02 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] application installer exiting
    9/3/10 11:35:02 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] application installer exiting
    9/3/10 11:35:02 AM com.apple.launchd[223] ([0x0-0x40040].com.adobe.air.ApplicationInstaller[344]) Exited with exit code: 9
    Thank you for your help.

  • Hi team, please help me how to deploy creative cloud desktop application through SCCM for an enterprise

    Hi team, please help me how to deploy creative cloud desktop application through SCCM for an enterprise

    Moving this discussion to the Enterprise Deployment for Creative Cloud, Creative Suite forum.

  • Web application and desktop application?

    Hi everyone,
    I am new to this platform.I have a basic doubts that whats the difference between developing application in flex as a web application and desktop application from programming point of view?Can we use same code in both cases?
    Please guide me....
    Thanks

    Hi and welcome,
    The main difference between a web application and a desktop application is that web applications do not have access and can't manipulate your local system ( you can't open a window that displays all your local files, you can't delete, rename, edit local files and so on ). Obviously, this is just one difference, there are many more ( the best would be if you google for "web aplication vs desktop application" because the same rules apply for 99% if not all the platforms you can find out there ).
    Desktop applications can have full control of your local system ( obviously, we have to take in consideration the platform we are using because since AIR is quite new in the desktop application field it is also more limited than other languages that have been used successfully to create desktop applications for years and year; like ce C# or C++ and so on ).
    Another important difference is that desktop applications usually need to be installed in order to function where on the other hand, web applications can run in the browser without you having to install the aplication you are about to view on your computer ( in some cases, like of the Flash and Flex platforms, you only require a "special player" that can display the content you are trying to access... for Flash and Flex applications you need the Flash Player installed for your browser ).
    So, before jumping into a project/platform you need to know your target. If you goal is to offer a fast, easy to access and no install required application to your users then you'll usually go with a web application. If your application needs to work with local files, maybe local databases, or it needs more control over the user's PC and so on, then you'll most likely go with a desktop application.
    With kind regards,
    Barna Biro

  • How to Change Icon of  Desktop Application?

    Friends, i am developing one small software using Java Desktop Application in Netbeans. I want to change the icon of my application (cup of coffee). I have tried this code: URL url = new URL("myApplication/resourcesresources/camera.png");
    Toolkit kit = Toolkit.getDefaultToolkit();
    Image img = kit.createImage(url);
    this.getFrame().setIconImage(img);
    and
    URL url = new URL("F:/Documents and Settings/Selva/My Documents/NetBeansProjects/HashCodeCracker/src/myApplication/resourcesresources/camera.png");
    Toolkit kit = Toolkit.getDefaultToolkit();
    Image img = kit.createImage(url);
    this.getFrame().setIconImage(img);
    i have searched in google and nothing works . Can anyone solve this problem?
    Note:
    This code works for me:
    Toolkit kit = Toolkit.getDefaultToolkit();
    Image frameIcon = kit.getImage("F:\\Documents and Settings\\Selva\\My Documents\\NetBeansProjects\\HashCodeCracker\\src\\hashcodecracker\\resources\\PasswordCrackerIcon.jpg");
    this.getFrame().setIconImage(frameIcon);
    But i am creating software. So i can not specify the location of the Image in one path. The user may run the software from anywhere. So the above code can not be used.
    Thanks
    Edited by: Blackstar on Jun 1, 2011 8:46 PM

    Blackstar wrote:
    Friends, i am developing one small software using Java Desktop Application in Netbeans. I want to change the icon of my application (cup of coffee). I have tried this code: URL url = new URL("myApplication/resourcesresources/camera.png");You really have a directory called <tt>resourcesresources</tt>?
    Please use the code tags as described in the sticky post at the top of the forum thread listing.

  • Java desktop application run problem

    Hi.
    I have designed java desktop application which includes some libraries (XMLparserV2.jar, Ojdbc6.jar,xdb.jar, Orai18n-mapping,jar) with XML ini file.
    Then I have done deploy to jar. After it I relocated jar file and XML ini files to separate directory and ran javaw -jar myjarfile.jar. I can't see anything.
    Where I can see any errors ?
    Thanks for reply in advance.
    Andrii.

    Try running java -jar myjarfile.jar from the command line and see if you get any errors showing up (probably missing classes in your path)

  • Netbeans Java Desktop Application Problem

    Hi
    I have build a java desktop application via netbeans and it creates a jnlp file to execute this applets however in my project when i press a button on an applet it opens another applet and send some parameter via html file how can i do that in desktop application because it doesnt have html file it only has jnlp file ?
    Thanks

    I guess I didnt make myself clear enough,I dont want to use another applet's public methods I want to execute it
    Lets make a scenario
    assume that I have an applet a and applet b
    on applet a there is a button called open applet b and when somebody press this button applet b will be opened
    Before I was doing that like this
                URL page = new URL("http://www.xxx.edu.tr/~team5/nps/build/giris.html");
                getAppletContext().showDocument(page,"_self");but now I made the project netbeans desktop application so I dont have any html file I only have jnlp and jar files
    so what should I do to maintain opening an applet from another applet?
    Thanks

  • Need to develop a desktop application which can generate timetable

    Hi All,
    Below mentioned is my requirement:
    I need to create a desktop application whch can generate the time table automatically.
    Fields which we give as input are as follows:
    1.No of classess
    2.Teachers along with their subjects
    3.Work load for each teacher for a week
    4.Time intervels when a particular teacher will be available(some teachers will come to school only in afternoons)
    5.Subjects to be taught
    5.Number of periods each subject has to be taught for each class.
    Can anyone send a an algorithm related to this so that I can further develop the same and use it in my application.
    Any suggestions will be of great help to me.
    Thanks
    Muni

    Well... this is a month old not sure will this be too late. Basically I suggest you do some study and reading into relational database and combine with OO programming (if you got time, study UML too),
    if you understand how to draw a relation database tables (doesn't have to be database, you can save data into txt/xml...etc) you pretty much know how to implement your application

Maybe you are looking for