Is there a way to load into JDeveloper an application without a .jws file?

Hi,
Even though I have struggled through the development of a simple application which has been put into production, I am still a newbie in terms of web application development, and JDeveloper (10.1.3.4) is the only IDE I learned to use. After completing the first application, I turned around to read a book (JavaServer Faces, The Complete Reference, 1st Ed, by Chris Schalk) to learn JSF, because JDeveloper assumes its user already knows JSF, but I do not, and often mix up what is JSF and what are enhancements by ADF.
After introducing the general concepts of JSF in the first eight chapters, the book starts to illustrate details of the working mechanism of JSF from Chapter 9, by means of a sample application. To use the sample application (code is downloadable from the book's web site), it is required to use either Ant or use Spring Hibernate. I know none of these. JDeveloper is the only thing I know. If I start to read Ant and Hibernate, I will go further and further away before I can eventually return back to JSF and ADF, whereas it looks to me the working of Ant and Hibernate have all been built into JDeveloper.
I wonder if I can use JDeveloper to follow the book's sample application. But the code the author provides does not have a .jws file therefore can not be loaded by JDeveloper and, even if it can, the file tree structure of the sample code files is different from that in JDeveloper.
I wonder if any people here were in the same situation as I am in now, and have found a way out? Or are there alternative books or sources suitable for a learner like me?
JDeveloper is great (and of course with the help of the great people here on the OTN forum I am grateful to) in that it shields all the technology and enables a person like me who knew almost nothing about web technology to focus on the business logic and complete an application. It defeats the purpose if, to learn to better use JDeveloper, I have to go back to primary school and trace the evolution of web technology all the way to JSF and ADF. It would be nice to do so, but will take too much time.
Many thanks in advance!
Newman

Shay,
Thank you very much for the instruction. The problem is solved by creating a new application with the "Web Application \[JSF, EJB\]" technology scope as the application template, saving the WEB-INF\lib\jsf-impl.jar file before replacing the public_html directory with the web directory from the book's sample code, then renaming the web directory back to public_html.
The compilation errors are largely gone, with the following still outstanding:
Project: C:\webapps\VirtualTrainer\ViewController\ViewController.jpr
   C:\webapps\VirtualTrainer\ViewController\src\com\jsfcompref\trainer\backing\Login.java
       Error(14,8): HttpServletResponse not found
       Error(15,8): HttpSession not found
   C:\webapps\VirtualTrainer\ViewController\src\com\jsfcompref\trainer\components\ScrollerTag.java
       Error(55,34): Tag not found  in class javax.faces.webapp.UIComponentTag in class com.jsfcompref.trainer.components.ScrollerTag
   C:\webapps\VirtualTrainer\ViewController\src\com\jsfcompref\trainer\security\SecurityFilter.java
       Error(6,8): Filter not found
       Error(7,8): FilterChain not found
       Error(8,8): FilterConfig not found Error(9,8): ServletException not found
       Error(10,8): ServletRequest not found
       Error(11,8): ServletResponse not found
       Error(12,8): HttpServletRequest not found
   C:\webapps\VirtualTrainer\ViewController\public_html\app\main.jsp
       Error(126): Unable to instantiate tag: t:scroller (class: com.jsfcompref.trainer.components.ScrollerTag)  Make sure that the tag class is available and that the tag library containing the class is not excluded from this application.
       Error(126): Unable to find class for bean: null defined by tag with class: com.jsfcompref.trainer.components.ScrollerTag
       Error(142): scroller must be terminated with /> or %> not >
   C:\webapps\VirtualTrainer\ViewController\public_html\app\edit_te.jsp
       Error(142): Unable to instantiate tag: t:scroller (class: com.jsfcompref.trainer.components.ScrollerTag)  Make sure that the tag class is available and that the tag library containing the class is not excluded from this application.
       Error(142): Unable to find class for bean: null defined by tag with class: com.jsfcompref.trainer.components.ScrollerTag
       Error(158): scroller must be terminated with /> or %> not >These errors seems to indicate that there are three things that JDev could not find for the application during compilation:
- the HttpServlet API,
- the Scroller custom tag library, and
- some filter.
I searched on the web and in the developer's guide, and tried Tools-> Manage Libraries... and Project Properties->Libraries in various ways but did not succeed in figuring out how to make the HttpServlet and the custom tag available to the application. And I am not sure what the filter exactly is for.
There are actually two .java files ScrollerComponent.java and ScrollerTag.java in the ...VirtualTrainer\ViewController\src\com\jsfcompref\trainer\components directory and, despite the compilation errors, a ...VirtualTrainer\ViewController\classes\com\jsfcompref\trainer\components\trainercomponents.tld file was generated after the compilation.
I am afraid I am asking too much. But it would be very much appreciated if you could spare some time and provide some instructions for resolving these issues.
Newman

Similar Messages

  • Is there any way to load just ONE java application at the same time?

    I'm using 'jnlp' to load java applications and I want to load just one application at the same time.
    Is there any way to do that?
    I have been trying to use 'findLoadedClass' but it doesn't work.
    Also I've tried to make a file when a application is loading and delete when the application exits.
    but it has a problem when the user terminates the application.
    (the file can't be deleted...)
    The applications are using socket to receive data, all of them uses same port. That's why I want to load just one application at a time, otherwise they work wrong way.

    Do you actually mean you want to make sure that only one instance of a GIVEN Java program is running at one time? If so then search this forum becuse this question comes up frequently.

  • Is there any way to load music onto my iPad without going to the computer and iTunes?

    Hi,
    My iPad is sync's with iTunes over WiFi. Is there any way of pulling songs/albums down to the iPad from my iTunes music collection (not iTunes purchases)?
    Or am I forced to have to drive this from a seat in front of iTunes directly?
    Thanks
    Phil

    The sync manually is fine. I don't use iTunes match. I just want to drive the selection of songs and the sync from the ipad rather than from the computer. There are 5 iPads in the home owned by different family members with different music tastes. It would be good if they could make the selections themselves.
    The goal is to have the songs synchronised with the iPad so that they are available away from the home and off of a network.
    Cheers

  • Is there any way to email photos from my 2g without compressing the file?

    My wife's 2g stopped being able to sync to her PC some time ago.  She emails photos to get them on her computer. The photos seem to loose resolution in emailing.  Is there a way to get these photos without the degredation?  All the wifi apps require iOS 4 which a 2g can't use and I can't restore the phone to reestablish sync because I can't back it up to begin with so we'll lose the photos.  Anybody have ideas?  Can I email in such a way that I won't lose quality?

    If they are in an iPod backup, then restore another iPod, iPhone or iPad from that backup

  • I've completely forgotten my iPod pass code. Is there a way of getting into my iPod again without loosing photos ?

    Please help

    Not if you can't make a backup
    Forgotten Screen-Lock Passcode
    Connect the iOS device to your computer and try to make a backup
    iOS: How to back up
    Then restore via iTunes. The iOS device will be erased. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store   
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • Is there any way to hook into the SQL report pagination process?

    I have a SQL report (based on EMP) with a radiogroup row selector.
    The scenario 1 and 2 are in place
    1) When the employee row radio group is clicked the P900007_JOB the text item is populated with the JOB for the employee.
    2) When the page is initially displayed or submitted via the button the first row’s radio group is programmatically clicked and therefore populates the additional job information in P900007_JOB
    Info (radio Group) Employee No Name
    (+) 7369 SMITH
    () 7499 ALLEN
    () 7521 WARD
    P900007_JOB CLERK
    1-3 Next>
    Once the report has been displayed and the next or previous pagination is used then none of the radio groups will be selected and the data in the P900007_JOB text item will still display the job of the last selected employee row.
    What I require is on pagination some sort of mechanism to either
    a) Call the page_init() that should then set the first row as selected and populate the text item via the programmatic click. (preferred option)
    b) OR blank out the additional text item P900007_JOB.
    Is there any way to hook into the pagination process?
    I have a work around – Set the ‘Enable Partial Page Refresh’ to ‘No’ but this means a full refresh every time the pagination is used.
    Details of my page
    Report Region (Based on EMP table) – radio group as a row selector
    select     APEX_ITEM.RADIOGROUP(1,EMPNO,'X21',null) CHECKRG, EMPNO,
         ENAME,
         JOB
    from     EMP
    Report Attributes -
    Report template :- P900007_ROWTEMPLATE (custom template see later)
    Report Attributes Substitution :- id="emp_report" (used in page_init see later)
    Enable Partial Page Refresh :- Yes
    Columns – All columns are selected as show but job is left out of the template below.
    P900007_JOB - Text item in report region (disabled does not save state). Populated with the employees job when the radio group is clicked.
    Control region :- HTML region that just holds a button <GO> just to submit the page and redirect back to the same page.
    P900007_ROWTEMPLATE (named column row template)
    Row template 1
    <tr style="cursor: hand; cursor: pointer;" onmouseover="row_mouse_over(this, 1)" onmouseout="row_mouse_out(this, 1)" #HIGHLIGHT_ROW# ">
    <td class="t15data" onclick="selectRow('#JOB#');">#CHECKRG# </td>
    <td class="t15data">#EMPNO# </td>
    <td class="t15data">#ENAME# </td>
    </tr>
    Before rows
    <table class="t15standard" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#" >
    <th class="t15header" #ALIGNMENT# >Info</th>
    <th class="t15header" #ALIGNMENT# >Employee Number</th>
    <th class="t15header" #ALIGNMENT# >Name</th>
    After Rows
    <tr>
    <td colspan="99" class="t15afterrows">
    <span class="left">#EXTERNAL_LINK##CSV_LINK#</span>
    <table style="float:right;text-align:right;" summary="pagination">
    #PAGINATION#</table>
    </td>
    </tr>
    </table>
    *Javascript in page Header*
    <script src="#WORKSPACE_IMAGES#apex_show_hide_region.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    function selectRow(pJob)
    /* console.log('pete got here!'+pJob)*/
    $x('P900007_JOB').value =pJob;
    /* Start Page init*/
    function *page_init*()
    /* Used to set radio groups on reports */
    /*console.log('START pete got here!');*/
    var is_checked = false;
    var l_check = $x_FormItems($x('emp_report'), 'radio');
    /*Loop and set flag if checked*/
    for(var i=0,len=l_check.length;i<len;i++)
    if(l_check.checked){
    is_checked = true;
    /*end loop*/
    /*If none checked force a click*/
    if(!is_checked){
    /*no longer need as doing click below*/
    l_check[0].checked=true;
    /*Force a click on the first radio group - extra details should then be
    populated*/
    var l_click = l_check[0].click();
    /* console.log('END pete got here!');*/
    /*END page_init*/
    // -->
    </script>
    *Application shared component.* – This fires a DB packaged procedure when the page is loaded.
    P330_PART_NO_HIST
    Process Point On load after Body region
    Process Text show_hide_memory.part_no_history_details();
    *Packaged Procedure* – This kicks off the page_init javascript in the header (earlier) to click on the radio group in the first row.
    PROCEDURE part_no_history_details AS
    BEGIN
    htp.prn('<script type="text/javascript">' || CHR(10));
    htp.prn('<!--' || CHR(10));
    htp.prn('page_init();'|| CHR(10));
    htp.prn('//-->' || CHR(10));
    htp.prn('</script>' || CHR(10));
    END part_no_history_details;
    Thanks Pete
    Edited by: Pete @ LSC on 26-Jan-2010 06:56

    Anybody any ideas? Should I be looking down the route of using my own pagination buttons and adding my code to this?
    There seems to be a routine $a_report that I can use for the pagination but I am finding it difficult to get the current first and last record values that I would need to pass. I've seen references to below in the form but when I'm using partial refresh they do not seem to change.
    wwv_flow.g_flow_current_min_row
    wwv_flow.g_flow_current_max_rows
    wwv_flow.g_flow_current_rows_fetched
    wwv_flow.g_request
    Thanks Pete

  • Is there a way to load in the templates

    Hello all,
    I use CS5.5 on a Mac  OS 10.6.8
    I would like to know is there a way to load in All of the Library templates upon start up of Encore.  Its a bit annoying to wait through the load up every time you first click on a different catagory in the Library.  As I am just getting to know Encore, I would like all the catagories loaded in and immediately at my disposal.
    Thank you in advance

    The answer to your question is no.
    That said, and I don't want to risk my install at the moment to test it, I think you could go to the library directory, create a new folder (category) called "All Templates," copy all the individual files from all the categories into this one, and then select that category - thereafter that category should load.

  • Is there a way to load just iTunes with no add ons?

    Is there a way to load iTunes only without add ons?

    Hi topelovely,
    Were you finding that Muse was overwriting the pages with custom code even when none of the following applied?
    - The page was changed
    - Something used by the page was changed (e.g., styles, swatches, etc.)
    - You were using a new version of Muse
    Thanks,
    Abhishek

  • Is there any way to load music from my computer not purchased from itunes to my iPad?

    Is there a way to load music onto my iPad that I did not purchase from iTunes?  I have loaded songs from CDs I purchased onto my computer and want to load them in my iPad.  Is this possible and how is it done?

    Is there a way to load music onto my iPad that I did not purchase from iTunes?
    yes.
    how is it done?
    the easiest way is to create a playlist with the tunes you want on the iPad and sync that playlist to it.

  • Is there a way to add photos to the iPad without replacing the ones already loaded?  I am trying to add photos from a folder on a computer that does not contain the other iPad photos.

    Is there a way to ADD photos to my iPad without replacing the ones already there?  I am trying to add photos from a computer that does not contain photos already synced to the device.

    You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    Secrets of the iPad Camera Connection Kit
    http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
     Cheers, Tom

  • Is there a way to load a movie file created using FlattenMovie() function ?

    Is there a way to load a movie file created using FlattenMovie() function ? I tried with NewMovieFromFile() , everything went well but the movie video track somehow had been corrupted.
    The thing is I could nicely convert the original Movie data structure using an export component. But the one I recreated after saving disk did not converted well ( It produced only sound ). Plz help I seached all over the documents to unerstand 'How to use flattened files' but could not.

    Hi telsenbroich,
    Have a look at this response
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=506500000005000000269A0100&HTHREAD=000104998&UCATEGORY_0=_8_&UCATEGORY_S=0
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • My Ipod Shuffle requires Itunes 10 but with my Mac OS 10.4.11 I can not run itunes 10. Is there another way to load this ipod shuffle without updating to Snow Leapord?

    My Ipod Shuffle requires Itunes 10 but with my Mac OS 10.4.11 I can not run itunes 10. Is there another way to load this ipod shuffle without updating to Snow Leapord?

    Sorry Glen, but there is not. And you don't have to upgrade to 10.6 (Snow Leopard).  You need at a minimum of 10.5.8 (Leopard).
    B-rock

  • I have purchased the last Creative Suite available on disk. It will load on my old Mac Book Pro.  I just bought a new Mac Book Pro and just realized there is no place to put a disk.  Is there any way to load the programs to my new computer?

    I have purchased the last Creative Suite available on disk. It will load on my old Mac Book Pro.  I just bought a new Mac Book Pro and just realized there is no place to put a disk.  Is there any way to load the programs to my new computer?

    Buy an external optical drive such as the Apple USB SuperDrive that is made specifically for that model.
    Use the optical drive of your old MBP to clone the DVDs to USB flash drives, then install from the flash drives.
    Connect both computers to your local network and then share the optical drive to install the software.

  • Is there any way to load and play the iPad scrabble app on my Macbook?  i can't believe there is no scrabble app for my mac

    Is there any way to load and play the ipad scrabble app on my macbook?

    There hasn't been a Scrabble version for OS X since 10.3 -10.4 on PPC, the intel swtich and they just left.
    Scrabble owners will sue the living daylights out of anything that looks like it or uses the name.
    Would love to play on my new Mac latop
    Apple in their infinite wisdom didn't allow iOS apps to run/ported  as widgets etc on OS X Dashboard like many users requested long time ago.
    There is no Scrabble widget on Dashboard downloads page or anything close to it.

  • Is there any way to break into an ipod after it has been disabled

    i need help is there any way to break into an ipod touch after it has been disabled

    Maybe the CIA could get data from an disabled iPod.
    It is easy for anybody to erase the iPod and regain use of the iPod for their own use.  Just place in recovery mode and retore.

Maybe you are looking for

  • How to find out number of users in an organization?

    Can you show me how I can find the total number of users in an organization please? Paging through is not an optimal way since there are alot of users.

  • Help with InsertPages Function

    I am attempting to combine multiple .RTF files into a single PDF file.     In the VBA code below, the InsertPages function causes a compile error.  Can anyone tell me what I am doing wrong?    Dim AVDoc As Object    Dim AVDocAdd As Object    Dim PDDo

  • Generating PDF for Any document No in SAP

    Hi All, My requirement is to create a  general Zprogram, which requires to pass "DOCUMENT No , Company Code, Fiscal Year" and generates PDF file corresponding to that document inn SAP. Though their is an standard program which requires to pass "SPOOL

  • N 73-messaging sending problem

    hi everyone....when i send a text msg, it does not go and goes automatically to drafts...from drafts it can neither be opened nor deleted....it happens in every 1 in 7 msgs i send plz do help me 

  • Difficulties with WRT54G

    Hello, I hope someone can help me to solve this. I have three computers on a wireless network at home since July, without changes to the configuration. I'm using the WRT54G with WEP 64-bit encryption, and since earlier none of the computers can acces