Is this a Viable option??

I work for a School who would like us to force someone to sign an AUP (acceptable use policy) or the computer shuts down. They want this done after log in so they can track who signed it. Is using Java a viable option for something like this?

This sounds like a poor option for any programming language to be honest. Why wouldn't they require the users to sign an "AUP" before they're given the login credentials in the first place?
That way they still get their agreement, but don't need to install or run additional software.

Similar Messages

  • Is BC4J a viabl option for database with stored procedure (ref cursor) API?

    I'm about to begin a Web application development project. As foundation, we have a (Oracle) database of certain complexity that have a data access API developed with PL/SQL packages.
    This API is designed to get data through stored procedures/functions that return REF CURSOR.
    Personally I have been investigating about Oracle ADF/JSF, and a number of others J2EE technologies, and at this moment I am doubting if ADF BC are a viable option to my development team.
    I think this because I have noticed that one of the great drawback in ADF BC is the lack of simplicity to get data through stored procedures/functions that returns REF CURSORS.
    I have been looking for documentation and the only thing that I have found are two examples:
    1.- One that really do not work (fails in get data from ref cursor): ADF BC StoredProcedure Sample application.
    2.- And other published by Steve Muench in
    http://radio.weblogs.com/0118231/stories/2003/03/03/gettingAViewObjectsResultRowsFromARefCursor.html. This sample works fine.
    But, the problem with the approach of this last article is the amount (and complexity) of the code necessary to make so basic and recurrent operation as is "obtain data through a stored procedure (ref cursor)".
    Below it is the code that I have constructed to call a function that returns a ref cursor (based on steve's article).
    If this is the only way to make this (historically so basic and simple) task, then it is obvious that BC is not a viable technology to my (or I am in a mistake?), since we have about 50 stored procedures/functions to access the underlying data; that stored procedures/functions are key to development of the new application (and, still more, currently are used to anothers apps ).
    By all this, I would like consult to Oracle's people:
    1.- I really must reject BC as technology to implement this project ?
    2.- It is possible to access stored procedures in a simpler way using BC?
    3.- If the answer to 2 is NOT: in near future, the BC team has plans to give more support to the simple access to stored procedures?
    4.- If the answer to 3 is NOT: what another technology you recommend to construct my data access/business tier and still be able to using the others characteristics of ADF?
    Thank you very much for your guidelines.
    Regards, RL.
    ** And the code!!!
    ** ###   I am forced to do this for each call to a procedure???? ###
    package myrefcursor.model;
    import java.math.BigDecimal;
    import java.sql.CallableStatement;
    import java.sql.ResultSet;
    import java.sql.ResultSetMetaData;
    import java.sql.SQLException;
    import java.sql.Types;
    import oracle.jbo.JboException;
    import oracle.jbo.domain.NullValue;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.DBTransaction;
    import oracle.jbo.server.ViewObjectImpl;
    import oracle.jbo.server.ViewRowImpl;
    import oracle.jbo.server.ViewRowSetImpl;
    import oracle.jdbc.driver.OracleCallableStatement;
    import oracle.jdbc.driver.OracleTypes;
    public class TraePolizasViewImpl extends ViewObjectImpl {
        private static final String SQL = "begin ? := PKG_PRUEBA.trae_polizas(?);end;";
        private static final String COUNTSQL = "begin ? := PKG_PRUEBA.count_trae_polizas(?);end;";
        public TraePolizasViewImpl() {
        protected void executeQueryForCollection(Object qc,Object[] params,int numUserParams) {
            BigDecimal rut_contratante = null;
            Object[] theUserParam = null;
            System.out.println(params);
            System.out.println(params[0]);
            if (params != null)
                theUserParam = (Object[]) params[0];
            //if (theUserParam != null && theUserParam.length > 0 )
            if (! (theUserParam[1]   instanceof NullValue) )
                rut_contratante = (BigDecimal)theUserParam[1];
            storeNewResultSet(qc ,retrieveRefCursor(qc, rut_contratante));
            super.executeQueryForCollection(qc, params, numUserParams);
        protected void create() {
          getViewDef().setQuery(null);
          getViewDef().setSelectClause(null);
          setQuery(null);
        protected ViewRowImpl createRowFromResultSet(Object qc, ResultSet rs) {
          rs = getResultSet(qc);
          ViewRowImpl r = createNewRowForCollection(qc);
          try {
            populateAttributeForRow(r,0, nullOrNewNumber(rs.getBigDecimal(1)));
            populateAttributeForRow(r,1, rs.getString(2));
          catch (SQLException s) {
           throw new JboException(s);
          return r;
        protected boolean hasNextForCollection(Object qc) {
          ResultSet rs = getResultSet(qc);
          boolean nextOne = false;
          try {
            nextOne = rs.next();
            if (!nextOne) {
              setFetchCompleteForCollection(qc, true);
              rs.close();
          catch (SQLException s) {
           throw new JboException(s);
          return nextOne;
        protected void releaseUserDataForCollection(Object qc, Object rs) {
           ResultSet userDataRS = getResultSet(qc);
           if (userDataRS != null) {
            try {    userDataRS.close();    }
            catch (SQLException s) { ; }  
          super.releaseUserDataForCollection(qc, rs);
        public long getQueryHitCount(ViewRowSetImpl viewRowSet) {
          return viewRowSet.getRowCount();
        private ResultSet retrieveRefCursor(Object qc, BigDecimal rut_contratante) {
          CallableStatement st = null;
          try {
            st = getDBTransaction().createCallableStatement(SQL, DBTransaction.DEFAULT);
            st.registerOutParameter(1,OracleTypes.CURSOR);
            if (rut_contratante == null)
                st.setNull(2, Types.NUMERIC);
            else
                st.setBigDecimal(2, rut_contratante);
            st.execute();
            ResultSet rs = ((OracleCallableStatement)st).getCursor(1);
            rs.setFetchSize(getFetchSize());
            return rs ;
          catch (SQLException s) {
            throw new JboException(s);
          finally {try {st.close();} catch (SQLException s) {;}}
        private void storeNewResultSet(Object qc, ResultSet rs) {
          ResultSet existingRs = getResultSet(qc);
          if (existingRs != null) {
            try {existingRs.close();} catch (SQLException s) {;}  
          setUserDataForCollection(qc,rs);
          hasNextForCollection(qc); // Prime the pump with the first row.
        private ResultSet getResultSet(Object qc) {
            return (ResultSet)getUserDataForCollection(qc);
        private static Number nullOrNewNumber(BigDecimal b) {
             try {
               return b != null ? new Number(b) : null;
             catch (SQLException s) { ; }
             return null;
        public BigDecimal getprutcontratante() {
            return (BigDecimal)getNamedWhereClauseParam("prutcontratante");
        public void setprutcontratante(BigDecimal value) {
            setNamedWhereClauseParam("prutcontratante", value);
    }

    no?

  • How do I view and open all my files again that are on my external hard drive?? Error message saying 'The disk you inserted was not readable by this computer' Three options are Initialize, Ignore or Eject.

    I have recently purchased Toshiba 1TB hard drive and I set it up and I was able to transfer all my files onto it such as my music, photos, documents. I had correctly ejected and used it again and all these files were safely stored and accessible afterwards. However after I rebooted my computer as it had been going slow and I had too much clogging it up once I reconnected the external hard drive I have error message saying 'The disk you inserted was not readable by this computer' Three options are Initialize, Ignore or Eject. How do I access all my files? I set it up to work on both mac and windows. I have tried both another mac and windows computer and same issue occurs?? I am worried that all my personal files are gone but am confused as the drive has had absolutely no damage to it as it was in a very short time frame and its never left the same spot. Any help would be greatly appreciated. Thanks

    Thanks for your quick response. I had a look at your discussion... I tried it on a Windows machine and I thought that was compatible with ExFAT?
    Therefore I need to attempt to use my external hard drive with a machine that boasts OS X 10.6.5 or above and then it should work?
    Thanks

  • I can no longer type in unlimited information on my adobe reader in pdf. At one time this was an option, it would give you an icon that would allow you to type in more information. This is no longer an option. What happen?

    I can no longer type in unlimited information on my adobe reader in pdf. At one time this was an option, it would give you an icon that would allow you to type in more information. What happen?

    That is not an option of Adobe Reader, but the way a PDF is created.

  • Is WebDynpro ABAP a viable option?

    Hi all
    Some generic questions, is WebDynpro ABAP a viable option? Can I suggest it to the customers? Is it a good practice to have UI and Business logic on the same server? Y are two strains of webdynpro one for ABAP and one for Java necessary?
    I have also heard ESS MSS runs on both ABAP and Java WebDynpro. Y is SAP complicating the skillset required to deal with Business Packages? Please give me links or direct answers as suitable. Thank you all.
    reg
    LNV

    Hi Volker
    All that I have written is based on help.sap.com. And here is the link (Go to WDJ in Travel manangement and look at constraints).
    <a href="http://help.sap.com/erp2005_ehp_02/helpdata/en/46/51f0e994b85e40e10000000a11466f/frameset.htm">ECC 7.0 WDA</a>
    And yes you are right, ECC 6.00 is enhanced using EHPs -> enhancement package. I am talking abt EHP 2.
    I am using CAF on NW 7.0 and hence the concern. And when I say composite my UI is essentially calling faceless services. That alone gives me the power to orchestrate processes quickly. The only reason I put these questions is because the same are coming out of my customers too!! And I need to give a concrete answer on the UI paradigm as well. Though I have made up my mind the future releases of ESS MSS is troubling to hear. Thank you for the patience shown in answering my questions.
    regards
    LNV
    Message was edited by:
            vln
    Message was edited by:
            vln

  • My open tabs are not being remembered when I close and re-open Firefox 4 even though I selected this feature in Options.

    My open tabs are not being remembered when I close and re-open Firefox 4 even though I selected this feature in Options. Can anyone tell me why?

    App tabs and Tab Groups (Panorama) are stored as part of the session data in the file sessionstore.js in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder]
    * http://kb.mozillazine.org/Session_Restore
    Make sure that you do not use [[Clear Recent History]] to clear the "Browsing History" if Firefox is closed.

  • Deactivate this SAVE AS option

    Dear all,
    We are actually looking for securing of original document from saving it to any local system where thisdocument can be viewed through Easy DMS. There are certain important documents, that can be just allowed to be viewed for reading but at the same time it should not be allowed to be Saved to the local system, using SAVE AS option while accessing the document using in EASY DMS. So, we need to deactivate this SAVE AS option for the documents which is being viewed from Easy DMS
    Please let me know , If SAP Easy DMS has such functionality?

    hi,
    Goto DC30, set Flag 'you can't renam file'
    When you display an original application file that is stored in a secure storage area, this indicator determines whether the file can be renamed.
    To display an original application file that is stored in the SAP database, a vault, or an archive, the system creates a copy.
    In the standard SAP System, the copy is assigned a name according to the naming convention defined in the program.
    Some viewing programs can only find an original application file if the copy of the file has the name that the file had when it was saved to a secure storage area. In this case, the naming convention links the redline file to the viewer file.
    If you set this indicator, the copy is assigned the name that the original application file had when it was saved to the secure storage area.
    Procedure
    Only set this indicator if your viewer application does not allow renaming of the file.
    Benakaraj
    ??P

  • I realize that wave burner is no longer part of Logic. Does anyone know of a viable option? thanks.

    I realize that wave burner is no longer part of Logic. Does anyone know of a viable option? thanks.

    I realize that wave burner is no longer part of Logic. Does anyone know of a viable option? thanks.

  • Viable options for having just Photoshop and After Effects?

    I have the single app plan for $20/mo, for After Effects. I've come to realize that I would like, as well as I kind of need, Photoshop. However, I don't wish to purchase the complete plan ($50/mo). I noticed there is a Photography plan for $10/mo, however since I already have a plan I'm unsure as to how I would go about getting two plans, or if there is a way to add on to my current plan. If I have the Photography and the Single App plan together it would be $30/mo, and I would have everything I need for $20 less than the complete.
    Any viable options, advice, or suggestions would be much appreciated.
    Thanks,
    - Infinity

    You can of course get the photography plan, you just do not "add" it. It's simply a completely separate purchase.
    Mylenium

  • I installed hotspot shield on my 2009 macbook pro and all **** has broken loose on my computer in my attempts to rid my system of the app. Restoring to factory settings seems the only viable option. How do I do this?

    I purchased the elite version of Hotspot Shield VPN only to found it is a wothless scam that drags down your computer. Unfortuantley its been nothing but a nightmare to get it out of my computer. Spents over a week combing through threads on what to do and amy ahve done more damage than anything else. It would appear that restoring my computer to its factory settings is the best thing in my current situation. Ive already lost all my photos and everything else of relevance, at least I hope, I have backed up in on an external disk. Could someone please guide me through this process? i just want to be done with this horribly frustrating situation. Thank you!

    Hey jollygreen666,
    If you're ready to do a full restore on your computer, this is how you should go about it.
    http://support.apple.com/kb/PH14243 - Erase and Install
    1. Power down your computer.
    2. Boot your computer holding either Command + R or Option. If you hold option you should see Macintosh HD and Recovery HD. Click on Recovery HD and press the arrow underneath to boot to recovery. If you hold Command + R you will go straight into recovery.
    3. To do a clean install, in the list of utilities, click Disk Utility. In disk Utility, you will see Macintosh HD or whatever you have named your hard drive.
    4. Click on Macintosh HD, and you'll see tabs along the top of disk utility. Press the Erase tab.
    5. For the Format box, select Mac OS X Extended (Journaled). In the name box you can leave Macintosh HD.
    6. Press Erase in the bottom right corner.
    At this point you will have a blank hard drive, and you will be able to reinstall Mavericks clean without any extra data. To do so you would:
    1. Exit Disk Utility.
    2. In the menu, select Reinstall Mac OS X.
    3. Follow the prompts to reinstall OS X, and when it asks you where you want to install it, press Macintosh HD.
    This will leave you with a clean install of Mavericks.
    Since you don't know how deep this software has gone, I would suggest you manually migrate your data back over from your external hard drive to prevent files from the software from showing up again.
    Good luck!

  • Why does Mac force boot to the recovery partition even when an external recovery option is selected? This disables the option of reformatting the internal drive because it is in use running the recovery partition.I have yet to find a viable solution.

          To make a very tedious story short, My Mac decided that it would crash and not reboot the OS. I decided to bite the bullet and just reformat, sacrificing my very important data. I have tried just about every trick in the book. There is one one major problem I am facing. When I try to reformat the internal HDD using Disk Utility. It fails to unmount. "Make sure that all applications and files are closed on this disk.", Suggesting that the computer is ignoring my command at startup to boot from my external recovery drive, and  using the Recovery partition on the problem drive, making it impossible to reformat the drive.  When the internal drive is removed and connected by another method it is not recognized.
    I failed to read the fine print on the box that  suggested I purchase another Mac to fix problems with my primary Mac because any utility with the potential to fix the problem can only be run on a functioning Mac.

    Booting to any version of the Recovery system, the built in partition on the internal drive, a recovery partition on an external drive or from the Online internet system will not stop you from formatting the Macintosh HD partition on the internal drive. So your problem is not that you are booting from the internal Recovery HD partition. It is probably your internal hard drive has problems, failing.
    You could try booting the system from the Online system. At startup hold down the Option/Alt + Command + r keys and keep them held down until you see a globe on the screen. That will boot the system from across the internet from the Apple servers completely removing the internal drive as a boot source. If you still can't erase and format or repartition and format the internal drive then your drive has problems and will need to be replaced.

  • I think I need to re-install Lion. Is this my best option for my computer?

    So, my late 2008 Aluminum MacBook has been running like the pits lately. It takes anywhere from 2:55 to 3:30 to start up with no Apps opening (Thank you 10.7.4), and opening any application, like Chrome for example, takes 16 bounces when opening the first time. I get some lag here and there too.
    I have run Onyx, I have run Disk Utility to verify and repair disk permissions, I've even downloaded a couple anti-virus programs to see if that was slowing me down. I reset the PRAM, SMC, PMU, and I think the next option is to do a clean re-install of Lion.
    I've backed up my computer every other day for the past week in preparation for this. My MacBook has 4gigs of RAM and over 100Gigs left of storage on its HDD.
    Should I re-install Lion? Should I do anything else first? My thinking is to restart the computer into the Recovery HD and then just re-install Lion. A question is, will I have all my files still on the computer, or will this wipe EVERYTHING clean? I'm just lost, and don't know what to do. Help!

    I would consider:
    Repair the Hard Drive - Lion
    Boot from your Lion Recovery HD. When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Then download and reinstall the OS X Lion Update 10.7.4 (Client Combo) updater. See if this resolves your issues before undergoing a reinstall.
    BTW, most of what you say you've already done should have been done before you updated to 10.7.4, so don't be so quick to blame everything on the update. It might have been the updater.

  • How do I keep my tabs open when I close firefox? I have tried the method in this site (tools- options- general- when firefox starts... but it didn't work.

    I used to be able to close firefox and have all my opened tabs saved. When I open firefox again, those tabs will be opened as I last closed firefox.
    Now, I am not able to do it. The firefox was crashed at one time earlier and I have to open the task manager to force it to close because it is frozen and so was my computer. After I opened it again, there is no tabs saved which I kinda expected. Then I
    go on web surfing and browse various websites. Now, when I close firefox, a box pops up warning me about the opened
    tabs will be closed. So I googled the symptom and it brought me to this website, telling me that if I set
    "tools->open->general->When firefox starts" to "Show my windows and tabs from last time", it should behave as it was before.
    I tried that but it doesn't work.
    Any help is appreciated.

    In case you use "Clear history when Firefox closes" or otherwise clear history:
    *do not clear the Browsing History
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/remove-recent-browsing-search-and-download-history
    Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.

  • When I click on Firefox, the page comes up as "work offline" and I have to uncheck this option under "File" before I can get on line. How can I disable this automatic start option "work offline"?

    Firefox starts up "Work offline" and I am notified "Having trouble loading page." I am then advised to "uncheck" the "work offline" option and "retry" getting connected to the internet. I would like Firefox 4 to automatically come up as a Browser on line, just as 3.6 did. How can I achieve this goal? Is there a way to disable the automatic "offline" start-up?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Why can't Firefox make it a built-in option to display previews of tabs open as shown via the "Tab Sidebar" add-on? If this were an option I would gladly switch to 4.0

    I have Firefox 3.6, with certain add-ons that I use frequently. The main one being Tab Sidebar. I like this add on because I know what tabs I have open specifically (God forbid you have two tabs open from the same site on normal tabs) with the window preview to the side. I like this because it saves me time and I love how easy it is to navigate my tabs. However, this add-on is not supported in Firefox 4.0. I guess I can just wait until the developer (if he ever) makes a newer compatible version, but why isn't this option automatically offered through firefox? I think I'm going to stay with 3.6 until the kinks are worked out.

    hello, i think that this was an intentional change to have more space for website content - i don't know a way around that unfortunately...

Maybe you are looking for

  • Camera Raw 6.7 update failed

    I tried to update my camera raw to 6.7 for my CS5, but halfway through it keep telling me to close adobe bridge. Its not open. I even tried opening it and closing it and still I get the same message ever time I hit the continue button in the update w

  • Oracle database downgrade  from 11.2.0.3 to 10.2.0.4 and timezone files

    Hi, I would like to test downgrade process through the scripts (@catdwgrd.sql). Oracle documentation http://docs.oracle.com/cd/E18283_01/server.112/e17222/downgrade.htm says "2.If you previously installed a recent version of the time zone file and us

  • Territory Management Exception rules

    Guys, we are on CRM 7.0 and need your expertise to understand how to build exception rules in Territory Management. We have rules built upon Country/Regions and postal codes in US e.g. 1. If country is US and region is New York then return Territory

  • Have Apple published a manual for the iPad with OS6

    Have Apple published a manual for the iPad with OS6

  • Change to Consolidation Group and avoid using CoI

    Hello, We would like to use the BCS functionality Change to Consolidation Group but we don't want to implement CoI Consolidation of Investment at all. All the threads I have read seem to indicate that one has to set up CoI. Please can you advise. Tha