Developing a platform: better to command or provide

I'm developing a platform that will provide services to a set of classes (plugins) that must extend from an abstract base class. One of the services is a database connection to a common database that alot of the plugins would probably want to use, like the employee database. This is to keep the total number of connections hitting the database to a minimum.
In general would it be better for the platform, through the abstract class, require the plugin to support a setConnection(Connection empConn) method that the platform would call or pass a call back reference to the platform and let plugin ask for the common connection if they want it as in public Connection getEmpConn()Thanks,

If you migrate a 1.2 Swing app to a 1.1.8 platform, you will also need to download the swing package for 1.1.8, and change all the source code imports from javax.swing.* to com.sun.java.swing.*.
Otherwise your Swing code won't compile. There was a package name change for Swing between 1.1 and 1.2. The other poster gave details on how to have Collections run in 1.1
Security might be an issue - J2 upgraded the whole security thing. Only way I know around this is to delete the offending security code to run in 1.1.
Otherwise a 1.2 program should run OK in a 1.1 environment.
Cheers

Similar Messages

  • Software development is platform independent?

    ORACLE Database has features like having database triggers, stored procedures / functions, table or column level constraints. So are they proprietary functionality of ORACLE. Can I build some of these above-mentioned features using standard SQL? Am I violating the proprietary law?
    The current trend of software development is platform independent? How to achieve this?
    null

    I have had this problem before, I think you can use
    something like:
    System.getProperty("path.separator");But I am not at work right now to look, so sorry. Im
    sure someone else could confirm this.No, it's file.separator:
    file.separator      File separator ("/" on UNIX)
    path.separator Path separator (":" on UNIX)
    line.separator      Line separator ("\n" on UNIX)
    But better use File.separator instead of a hardcoded string -> compiler will complain at typos.
    -Puce

  • Unable to restart the Microsoft Software Protection Platform service from command line - Win81 MS Office 2013 SP1

    I'm unable to restart the Microsoft Software Protection Platform service on a Windows 8.1 laptop for MS Office 2013 SP1 (32-bit) using the following command:
    cscript ospp.vbs /osppsvcrestart (issued from C:\Program Files (x86)\Microsoft Office\Office15)
    When this is run, a window appears with the title ospp.vbs and the text "Error: The Software Protection Platform service is not installed"
    I verified that the service is installed in services.msc, and was able to manually stop and restart the SPP service in the Services console without issue.
    The command runs correctly when restarting the MS Office 2013 SPP on Windows 7 devices.
    Has anyone else seen this or have a solution for it?
    The reason that I am attempting to restart the service from the command line is because this command is part of a script to change the KMS server IP Address used by OSPP prior to software activation.
    The only other options that I have at this time is to ask the users to reboot, or manually force a reboot.  This is both time consuming and disruptive to the users.
    The Fix It tool to remove MS Office 2013 was run, and the MS Office 2013 software was successfully reinstalled after a reboot.  The software was successfully activated.  When the command was run, it produced the same exact error.

    Hi,
    I am able to reproduce this on my own machine, but in my case, I don't see the specific service running in the Services console. 
    I would like first confirm that whether you've the right service running on your Windows 8.1 system. The display name of this service should be "Office Software Protection Platform", service name is "osppsvc".
    You can also check this by going to below path where you should see the executable file (OSPPSVC.EXE) if the service is installed on your system (in my case, the folder is empty):
    C:\Program Files\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Oracle Development - initial platforms?

    Can anyone clarify which platform Oracle initially develops it's software on and then ports to other platforms.
    We're being pushed by one of our clients to utilise Wintel/Linux as they state that this is the platform Oracle firstly develops their software on and then ports to other platforms.
    Can anyone confirm or deny this?
    Thanks in advance
    Pete.

    Do you mean Wintel? Or Lintel (i.e. Linux on Intel chips)?
    Certainly I know Linux is very popular inside Oracle since someone did the maths on the cost of licenses and performance.
    I suspect RAC probably was developed on Lintel precisely because it was aimed at an architecure of disposable blade servers, and Lintel provides the best cost base for such an approach.
    Of course, the question then becomes which flavour of Linux do Oracle use? I know they promote both RHEL and SUSE at the install fests.
    Cheers, APC

  • SQL Developer 1.5.5   SPOOL command

    Hello,
    I have a question to SQLplus command SPOOL
    Testsetting:
    SQL Developer 1.5.5_5969
    Oracle 10g Release 10.2.0.3.0
    The output from SPOOL in the log file is only a subset from what I get in the Script Output Panel.
    I don't see the SQL Error Message and the number of rows selected or updated. See the scenario below.
    Does anybody know, how I can get the whole output to the log file?
    Testcase: Start ScriptRunner (F5)
    =================================
    SET ECHO ON
    SPOOL C:\tmp\test.log
    SET SERVEROUTPUT ON
    SET FEEDBACK ON
    WHENEVER SQLERROR EXIT ROLLBACK
    select lcode from test_table;
    update test_table set lcode = NULL where 1=2;
    update test_table set lcode == NULL where 1=2;
    SET SPOOL OFF
    EXIT
    A.) Output from ScriptRunner (F5) at Script Output Panel:
    =========================================================
    SET ECHO ON
    SPOOL C:\tmp\test.log
    SET SERVEROUTPUT ON
    SET FEEDBACK ON
    WHENEVER SQLERROR EXIT ROLLBACK
    select lcode from test_table
    LCODE
    GL
    GL
    SK
    3 rows selected
    update test_table set lcode = NULL where 1=2
    0 rows updated
    update test_table set lcode == NULL where 1=2
    Error starting at line 3 in command:
    update test_table set lcode == NULL where 1=2
    Error at Command Line:3 Column:28
    Error report:
    SQL Error: ORA-00936: Ausdruck fehlt
    00936. 00000 - "missing expression"
    *Cause:   
    *Action:
    Rollback
    B.) Output from SPOOL in log file:
    ==================================
    SET SERVEROUTPUT ON
    SET FEEDBACK ON
    WHENEVER SQLERROR EXIT ROLLBACK
    select lcode from test_table
    LCODE
    GL
    GL
    SK
    update test_table set lcode = NULL where 1=2
    update test_table set lcode == NULL where 1=2
    Thanks
    Markus

    The connections are in
    C:\Documents and Settings\Application Data\SQL Developer/system1.5.0.53.38/o.jdeveloper.db.connection.11.1.1.0.22.49.35/connections.xml
    If you want to back them up, you can just right-click export from the tree.
    -kris

  • Platform neutral Runtime commands

    I'm using the Runtime class to issue a command to the OS. For NT it works like this:
    String[] commandArgs = {"cmd", "/c", command};
    proc = Runtime.getRuntime().exec(commandArgs, envp, file);
    I need to know what the comandArgs would be for a unix based os?
    And, I am looking for advice on how to determine the actual OS at runtime so I can issue the platform specific commandArgs.
    Thanks

    First of all, I belive there are no OS specific command args... they are passed to command by possition and they are interpreted by programmer based on some best practices. In unix you can meet params without any preceding chars like:
    ps aux
    switches like
    ls -la
    modern switches like --verbose etc...
    You can determine OS filesystem path separator using java.io.File static public field "separator", try to execute code like this:
    Properties props = System.getProperties();
    Enumeration en = props.propertyNames();
    while(en.hasMoreElements())
       System.out.println(props.getProperty((String)en.nextElement())); You will get some info about platform and runtime at all

  • Where does a developer download iOS5 beta for iPad?

    I'm a developer, but where exactly do I download iOS5 beta for iPad? In the Dev Center I only see the SDK for 4.3. Thanks.

    Thanks, I wanted to make sure. Many people mistakenly think that the iOS betas are available to the public or non-paid developers. If you can't find the beta, I'd suggest you ask for pointers in the developer forums:
    http://developer.apple.com/devforums/
    and if you can't get help there contact Apple Developer Support. We're really not allowed to discuss any specifics about unreleased Apple software in these public forums.
    Regards.

  • SAPUI5 Application Development Toolkit and SAPUI5 ABAP Repository Team Provider

    Hi All,
    We are having a problem finding the following on sapmarket place.
    SAPUI5 TOOLS IDE PLUGIN 1.00
    SAPUI5 TEAM PROVIDE IDE 1.00
    Just wondering if the following plug-ins are only available for SAP HANA or if they are already included on the new FIORI installation. We have FIORI SPS03 apps.

    Hi Melanie,
    Please find this path.
    http://service.sap.com/swdc
    Support Packages and Patches -> N -> UI ADD-ON FOR SAP NETWEAVER -> UI ADD-ON 1.0 FOR NW 7.03 ->  Entry by Component ->  SAPUI5 DevToolkit: All
    Regards,
    Masa
    SAP Rapid Innovation Group - RIG

  • Command to  provide list of all objects and their scripts from database

    Hi,
    How do i get the list of all objects and their scripts/source from database?
    I guess using dbms_metadata package or Toad tool we can achieve the above task
    But i do not know the steps to get the objects and their scripts.
    Im using oracle database 11g R2 11.2.0.2
    Kindly ge me the advice
    Thanks in Advance

    How do i get the list of all objects and their scripts/source from database?
    I guess using dbms_metadata package or Toad tool we can achieve the above task
    But i do not know the steps to get the objects and their scripts.
    Im using oracle database 11g R2 11.2.0.2If you want the all the metadata of whole database, then it is quiet difficult to get from DBMS_METADATA, as it is very complex because you need to gather for each object of each schema in whole database and to spool.
    http://www.orafaq.com/node/57
    I want to know, what is the use of entire database metadata, Certainly need of objects of metadata.
    or if you want to whole database, then i suggest you go for export full backup and import as impdp sqlfile option,

  • Weblogic.developer.interest.platform has moved!

    This newsgroup has been archived. Old messages have been archived to the [url http://forums.bea.com/category.jspa?categoryID=300000013]ARCHIVES folder, located at:
    http://forums.bea.com/category.jspa?categoryID=300000013

    Pls mention the WLS version & service pack level
              Kumar
              Kevin wrote:
              > Has anyone seen this nasty error before. It is killing my server and Idon't yet know why I get it.Tue Jun 26 19:10:52 CST 2001:<E> <ServletContext-General> Servlet failed with Exceptionjava.lang.ArrayIndexOutOfBoundsException: 7743536at weblogic.servlet.jsp.JspBase.service(Compiled Code)at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled Code)at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)at weblogic.kernel.ExecuteThread.run(Compiled Code)
              

  • TOSHIBA Please Read - Beta Testing and Developer Community

    Hello Jim,
    I wanted to respond to your posting about the status of the update but the thread has been locked, so I started a new one. Anyway, I was wondering if there was a chance that we could get a beta test version of the software provided to experienced and brave individuals that can report back to the dev team with various issues and bugs to be fixed?
    The public beta will not only appease the people angry at Toshiba for missing the deadline for the update, but also provide necessary feedback to the development team that can be used to create a more feature complete update. As an Android developer myself, I would take every oppurtunity to report bugs and issues and even provide code to help implement fixes for various issues if said source is availible. I believe it would be a great idea for Toshiba to create an open source development community on these forums and to provide us with bleeding edge code for us to implement and mess around with.
    Such communities already exist on various sites like XDA Developers but not with vendor support, if Toshiba provided a vendor-supported developer community around the Thrive and other Android devices such as the Excite and Folio. With a vendor supported community, we would have a place where Toshiba can make better software for the devices and developers and brave regular users can participate in the process of getting updates for our various devices. I believe that moving away from such a closed development environment would not only help Toshiba develop better devices and software, but also give the company a leg up on its competitors who do not have such a community pitching in allowing for better software to be coded.
    I hope that this message is read by someone at Toshiba that can make this happen, as the benefits are truly mutual, since Toshiba would be getting better software for its devices and developers get the resources and code needed to turn Toshiba into one of the best supporters of this great open-source project.
    If anyone from Toshiba would like to contact me to help coordinate such an undertaking, I may be reached at [email protected]
    Thank You For Your Time,
    Rob Gries
    Android Developer

    Hi Rob,
    Thanks for the thoughtful message. Your points are well made and, while I don't disagree that there are mutual benefits, Toshiba has no current plans for directly building or supporting a developer community.
    On the other hand, private beta testing for the Thrive product line was first launched last summer and I expect it to be ongoing as major software updates reach reasonably usable states within the development process. However, you won't see discussion of beta testing in the message boards because beta testers are under NDA.
    Thanks again for the thoughts and for your interest in developing for Thrive!
    Jim

  • NetBeans or Eclipse: Which is better for GUI development ?

    I am relatively new with JAVA, came from embedded software domain mostly in C.
    My interest is to learn and develop the GUI applications using Swing.
    I am currently in a process of evaluating the IDEs, Eclipse and NetBeans on Linux desktop environment (SuSE 10.3).
    My primary findings found that, NetBeans is better equipped with GUI development while Eclipse needs to have a plugin installed.
    For GUI development, I found that few of my fellow Java developer friends have mixed feelings about these two wonderful IDEs, in summary here are the comments:
    1) Developing GUI is better without any assistance from built in designers of IDEs (e.g. NetBeans or Visual Swing of Eclipse). Because, they put extra 'garbage" codes which are very much IDE specific.
    2) GUI development in NetBeans is faster and more productive than Eclipse
    3) Visual Swing for Eclipse is not a matured product and it is far inferior than NetBeans' capabaility
    Now I ask a question, what is the best practice to adopt for starting the GUI development ? NetBeans or Eclispse or IDE-less development ?
    Thanks.

    atomodachi wrote:
    Now I ask a question, what is the best practice to adopt for starting the GUI development ?
    NetBeansThis is my preference for IDE's. Please note that as I stated that is my preference. There isn't any best, some are clearly better than others for one reason or another, but once again, that boils down to personal preference.
    EclispseNot my preference.
    IDE-less development ?IMO: that is just silly. Unless you just enjoy tons of typing; why would you ever embark on doing something without a tool to speed up the process. Now that is not to say that in using your IDE you should start out by just dragging and dropping up a storm and merrily running down the road in ignorance until you hit a rough spot and have things dramatically pointed out that you've really not a clue about what is happening. Use the IDE, but learn how to do the manual processes along with it. That means that sometimes you'll not drag and drop to build your GUI, you'll actually code the entire thing. And you really should learn to do things command-line like compile. Do yourself a really big favor too, learn the debugger. The integrated debuggers is, perhaps, one of the best inventions in productivity tools that has as of yet been invented for developers.
    In any case, have fun... choose what you like, it really does come down to personal preference. I've worked in several shops over the years and most have come to the conclusion that if you can get the work done, and have projects that others can use, then to each their own preferences. The discussion rages on for and against each of the systems that you have mention--each have valid arguments--it boils down to what do you want and like.

  • How to install "Microsoft Office Developer Tools for Visual Studio 2012" without "Web Platform Installer"?

    I have visual studio 2012 ultimate for practice , now I want to do SharePoint 2013 development through that. Generally I should download "Microsoft Office Developer Tools for Visual Studio 2012" through
    Web Platform Installer, but for some reason I want to avoid installing "Web Platform Installer".
    Is there any way where I can download and install "Microsoft Office Developer Tools for Visual Studio 2012" without downloading "Web Platform Installer"?
    Waiting to be guided by you.

    Hi
    Use these links to use WEBPI to download files for offline installation
    http://chakkaradeep.com/index.php/downloading-office-developer-tools-for-offline-install-2/
    http://www.iis.net/learn/install/web-platform-installer/web-platform-installer-v4-command-line-webpicmdexe-rtw-release
    Please mark it as answer if it helps you solving your problem
    Amit Kotha

  • Windows7 Beta - SQL Developer causes Windows themes to be disabled

    If there is already a solution to this issue, I'd love to hear about it.
    When I start SQL Developer on Windows7 Beta x64, I get a notice that:
    A program that you're running is incompatible with the Windows 7 themes. When this happens, some visual elements are automatically turned off. When the program is no longer running, the visual elements that were turned off are turned on again automatically.
    The windows "themes" is the aero interface - I'm not sure if this is an issue with Vista or not (it has an aero interface too), I gave up on Vista almost immediately and have been running either XP (with no problems) or Windows7 Beta (only minor glitches).
    Does anyone know if there a Java or other setting that addresses this issue?

    Go to <sqldev install dir>\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf and add the following line:
    AddVMOption -Dsun.java2d.noddraw=true
    I recommend you dont change the theme from the default to something else like Windows, lots of graphical glitches/exceptions
    Hope that helps.

  • Would *.vi files run on a Windows platform if they were developed on a Unix platform?

    I have been working on a Linux machine with Labview 6.1, and would like to know if the *.vi files would run on a Windows platform running Labview.

    Absolutely. I don't recall that there are any Platform dependent calls in LabVIEW for Linux. Give it a shot, and please post here if you have any problems.
    Congratulations for choosing Linux, and LabVIEW for Linux.
    I have always been a proponent of platform independent programming, and of Linux/Unix (okay, ANYTHING but Windows...evil, pure evil...). If you develop in Linux, and run in Windows, you are in fact developing a platform independent program (at least, if there are NO platform dependent calls in your program...)
    Good luck, and keep us posted.

Maybe you are looking for

  • S890 screen turns off while playing games

    I bought this phone a week ago.Everything about this phone is awesom except one thing. The screen turns off while playing games automatically,which is really annoying. Is there any fix for this??

  • Buzzing on playback

    I've just upgraded to Garageband 11 through the app store. Playback through my Edirol FA-66 is badly distorted. On garageband startup, playing a song, or previewing a loop just produces buzzes If I use the Garageband prefs to select the FA-66 as an o

  • Video Ipod frozen

    I have had my video ipod for about a month now and i just bought some software to convert dvds to ipod format. It worked, but when i was watching the dvd, my ipod froze. I clicked menu and put it to sleep. I then turned it back on and clicked on now

  • Converting from a spot color to a color for a RGB document?

    How can I take a spot color from the Pantone Swatches Library and convert it for use in a RGB document? Thanks.

  • State to look like another, but not based on it?

    Hello all, I've a strange request about view states I have a state that initialises a datagrid on load and that works just fine (it shows open issues) Above there is a link button to show closed issues, I tried a new state based on open issues but th