Updates/downloadable sample codes

Hi, everybody!!!
1) Core J2EE Patterns book indicates a website for updates, etc:(http://www.phptr.com/corej2eepatterns).
It seems it's not working or available; when will it be available??? (Or is there another site to reflect new updates/changes to the book?)
2) Do you guys have some sort of "blueprint" that can be used as a template for learning/modelling patterns? Something that can be compiled and minimally executed??
3) Are there plans to include more example codes?
Thanks in advance...

Re: 1):
We have informed our publisher and they are fixing it as we speak.
Re: 2)
We have a reference implementation for the patterns called PSA.
PSA (Professional Services Automation) is discussed briefly in the last chapter in the book. This runs on the J2EE Reference implementation. We intend to make this code available at a future date.
Re: 3) Are there plans to include more example codes?
Yes, by releasing the PSA reference implementation. See #2.
thanks,
-deepak

Similar Messages

  • Partial Update error / sample code

    Customer is trying to do Partial Update by refering the sample shown in PartialUpdatesGuide.pdf, however, baseline update is showing following error. Is there any sample code to do partial update with the actual success in some instance, or any resolution for this ?
    WARNING:provisioning warning: The option '--updatedir' is reserved. It has been removed from the command line
    Additional informations are:
    - after partial update, dgraph_input/updates does not have partial update file (directory is empty). It seems that they does not use Parial Update Pipeline in forge, this file is not created.
    - Dgidx log does not show any other error or warning

    The message you see is just a warning that indicates the Dgraph node in your AppConfig XML (either DgraphCluster.xml or AuthoringDgraphCluster.xml) is not specified properly. My guess is that yours looks like this:
    <dgraph id="DgraphA1" host-id="LiveMDEXHostA" port="25000"
    post-startup-script="LiveDgraphPostStartup">
    <properties>
    <property name="restartGroup" value="1" />
    <property name="DgraphContentGroup" value="Live" />
    </properties>
    *     <args>*
    *          <arg>--updatedir</arg>*
    *          <arg>./data/dgraphs/DgraphA1/dgraph_input/updates</arg>*
    *     </args>*
    <log-dir>./logs/dgraphs/DgraphA1</log-dir>
    <input-dir>./data/dgraphs/DgraphA1/dgraph_input</input-dir>
    +<update-dir>./data/dgraphs/DgraphA1/dgraph_input/updates</update-dir>+
    </dgraph>
    The error message is complaining about the args section. The updatedir argument gets sourced from the update-dir element and if you try to specify it in args, you see the message below.
    I think we'll need more information to solve the primary issue (what does your PartialForge.log say, is there anything in data\partials\forge_output). Dgidx does not run during a partial update so not having a warning or error there is expected.
    Regards,
    Patrick Rafferty
    http://branchbird.com

  • New Equium will not allow Vista update download - Error Code 80070002

    Hi,
    I bought a brand new Equium Laptop from PC World and when switched as is the norm the Operating System (Vista) tries to download the updates from Microsoft.
    However, I am struggling with this as it has become stuck after doing a number of downloads successfully.
    Now when I go to 'Windows Update' I get the error message Error Found Code 80070002.
    Can anyone help with this?

    Hello
    I don't know what is wrong there but if you start Google and put Error Code 80070002 as searched term you will find lot different forums with the same theme. As you can see many other people have the same problem as you.
    Try also to check follow pages:
    http://update.microsoft.com/windowsupdate/v6/showarticle.aspx?articleid=17&ln=en&IsMu=False
    http://support.microsoft.com/kb/906602/
    Bye

  • Oracle Sample code table structure needed ...........

    Hi,
    I have downloaded sample code from oracle web site for connection pooling in java.
    some tables were used in that program like AVAILABLE_ROOM_TYPES, hotel_bookings etc....
    it was told that the table structures can be found in otn site. but i cud not find that.
    can ay one tell me where i can find all the table structures and dumps with data for those tables that are used in all the sample codes available for download.
    thanx in advance
    saro

    Saro,
    You can get it here : http://technet.oracle.com/sample_code/tech/java/travel/travelschema.htm
    Cheers,
    Srinivas.

  • Samples Code --- BI BEANS without Oracle OLAP

    We can not download Samples Code --- BI BEANS without Oracle OLAP from Oracle Ftp site.
    Thanks for help:)
    Who can send me the sample code.
    [email protected]

    The file has been reposted

  • Where to download the sample code of Expense Tracker application

    Several JSC2 tutorial articles mention a sample application called Expense Tracker. Does anyone know where to download it? The links in the articles are invalid now.
    Thanks in advance

    Sorry for the inconvenience. The sample code is getting updated to work with the latest release of Creator. It will be replaced soon.

  • Sample code in Update Rule to restrict data selection?

    We used to restrict data selection in InfoPackage data selection, e.g., for company code range when loading data from a source system (e.g. EBP which is similar to R3), but somehow the company code range we set in InfoPackage data selection not working and we found actually it occurs on the source system side when running RSA3 on EBP side and input the company code range in RSA3 selection section, but still it extracts data beyond the company code range.  We don't understand why EBP data selection doesn't work, then we consider in update rule on BW to set the company code range.  We know in update rule, we can select Start Routine, formula, or routine to set the company code range.  But we would be appreciated if experts here can recommend which one is the most efficient to load data fast for data load performance reason and would be appreicated if you can let us know the sample code!
    Thanks in advance!

    hi Hari,
    I copy the whole code of the start routine below:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    Includes to update generic objects
    INCLUDE rsbctgn_top .
    INCLUDE rsbctgn_update_rules .
    INCLUDE rsbctbbp_generic_objects.
      The following section is prepared for you if you compound
      the business partner 0BPARTNER with the
      Source System 0BBP_SYS_BP or if you compound the organizational
      Unit 0ORGUNIT with the source System 0BBP_SYS_BP
    TYPE-POOLS: RRSV.
    Data: L_HLP_CHAVL_CMP       TYPE RSCHAVL.
    DATA:
           L_S_DEP       TYPE RRSV_S_DEP,
           L_T_DEP       TYPE RRSV_T_DEP.
      End of compound
    DATA: l_s_errorlog        TYPE rssm_s_errorlog_int,
          l_hlp_chavl         TYPE rschavl.
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CS0BBP_CONF_TD_1.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
    delete data_package where 0comp_code < 'X300' OR 0comp_code > 'X6ZZ'.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.

  • Regarding sample code to update partner function using SD_PARTNER_UPDATE

    Hi All,
    Please provide some sample code to update/add partner function using FM 'SD_PARTNER_UPDATE'.
    regards
    Vishnu

    A better option would be to use a break point on this FM while creating a sales order. That way you will know how standard uses this FM.
    Thanks,
    Vikram.M

  • Can u please send me a sample code to upload and download a file using java

    Hi,
    Please can u send me a sample code to upload a file and to download the same file from a remote server using a java servlets. The file should be read byte by byte.
    Message was edited by:
    user461713

    Hi, Thank u.
    Sorry, I forgot to attach a code. Here it is.
    Actually i need to upload a file to a remote server and download it from a server to my machine. I'm trying it using servlets and using tomcat5.0 as a servlet container. Here i'm sening a code used to upload a file. Let me know whether it works. Only few lines are here.
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.lang.Object;
    import java.util.*;
    import java.lang.String;
    import com.oreilly.servlet.MultipartRequest;
    public class FileUpload extends HttpServlet{
         public void doPost(HttpServletRequest req, HttpServletResponse res)throws
         ServletException, IOException{
         MultipartRequest multi=new MultipartRequest(req);     
         String file="file1";
         byte[] b=file.getBytes();
         InputStream in=null;
         BufferedInputStream bis=null;
         FileWriter fw=null;
    try{
         in=multi.getInputStream("file1");
    bis=new BufferedInputStream(in);
         File output=new File("/fileuploadtest");
         fw=new FileWriter(output);
              int i;
              i=bis.read();
              while (i != -1) {
    fw.write(i);
    i = bis.read();
         catch(IOException e){
              System.out.println("Exception=" +e);
    finally{
         try{
              if(in!=null)
              in.close();
              if(bis!=null)               
              bis.close();
              if(fw!=null)
              fw.close();
         catch(Exception e){
              System.out.println(e);
    This code is giving error as: cannot resolve symbol: class MultipartRequest
    Why is this happening?
    Pls let me know whether this code works or no and also i have written form.html.
    Can u pls tel me whether there are ways in which i can write a code to upload a file using servlets without using third party packages. Pls help.
    Also how should be the servlet mapping for this code.?
    Regards
    Message was edited by:
    user461713

  • I'm having problem downloading the complete suit. Only 41% has downloaded and it says this "Creative Cloud desktop failed to update.(Error code: 50) Contact Customer Support

    I'm having problem downloading the complete suit. Only 41% has downloaded and it says this "Creative Cloud desktop failed to update.(Error code: 50) Contact Customer Support

    Meresianak73703965 have you utilized the steps listed in Error "Failed to Install" Creative Cloud Desktop application to reinstall the Creative Cloud Desktop application?

  • Where Can the Sample Code for That Balloon Game Demoed on WWDC for Swift Be Downloaded

    Hi. I can't find the balloon game sample code used in the WWDC in the Sample Code for iOS or OS X (assuming it's available for download). If it is available for download by Apple, where can it be downloaded?
    Thank you in advance.
    God bless, Cor. 13

    The assets are in the .playground file's file package. Select the .playground file in the Finder, right-click, and choose Show Package Contents to browse the file package. The graphics files are in the Resources folder inside the file package.

  • Need Sample Code in C#  to Insert,Update,Query data using W 2.0 wsdl

    Hi,
    Can anyone please share sample code in C# to Insert,Update,Query data using W 2.0 wsdl.
    Thanks in advance

    I have found solution.
    Need add following line for non string data type.
    objOutreachUpdateList.Opportunity[0].IndexedNumber0Specified = true;

  • Workshop Sample Code Download

    I just joined an Oracle Developer Days workshop which name is "Best Practices for J2ee Development". On the workshop, I was told that I can download all the source code for the lab from otn. But I can't find them. Please tell me.
    Thanks in advance.

    This is actually the ODP forum not the OLE DB forum, but anyway I managed to find the sample with no difficulties.
    - Simply go to the OLE DB technology page (http://www.oracle.com/technology/tech/windows/ole_db/index.html)
    - Click on "Sample Code" on the right-hand side in the "Table of Contents" box
    - Click the Oracle Provider for OLE DB 9.2 Samples link
    - Click the Download Now link under the Populate DataSet with Multiple REF Cursors Sample
    Good luck,
    Mark
    ===================================================
    Mark A. Williams
    Oracle DBA
    Author, Professional .NET Oracle Programming
    http://www.apress.com/book/bookDisplay.html?bID=378

  • Cant acess the sample code

    I am not able to acess the sourcefiles on the page
    http://otn.oracle.com/sample_code/tech/java/jsp/htdocs/jspdemo/jspdemosrc.html
    Any help on this would be appreciated.
    Thanks

    Hi Asha,
    The page you are referring to was with respect to a older version of the JSP sample code. Please refer to the updated samples at the location: http://otn.oracle.com/sample_code/tech/java/jsps/ojsp/content.html
    These samples are certified against Oracle9iAS Containers for J2EE(OC4J). You can download the JAR file(OjspSamples.jar) from this page and deploy the EAR file in it with OC4J. The Install.html file in the JAR file has instructions to setup the samples with OC4J. Once setup, all the source files can be accessed through the application pages itself. Hope that helps.
    Regards,
    Srinivas
    OTN Team.

  • Visual Studio Sample Code for Web Services Integration

    I am new to the CRM OnDemand web services and am looking to write an interface for querying and updating data. I have imported the .wsdl and got the log-in and log-out functioning but rather than re-inventing the wheel I was wondering if anybody had some sample code of how to work with the business objects such as Account or Contact.
    I am using Visual Studio .Net (Prefer c#). Any sample would be greatly appreciated.
    Thanks in advance....
    Edited by: user10730659 on 9/01/2009 23:08
    Edited by: user10730659 on 20/01/2009 16:11

    I found some examples in the Web Services Resource Library.
    you can access this through the "Training and Support" link from within CRM OD.
    Then click on "Web Services Library" then download the Getting Started kits
    Edited by: user10730659 on 20/01/2009 16:11

Maybe you are looking for

  • Can any body help me in creating a jar using Weblogic server tool

    I have created the class files of the container manged bean successfully.I want to create the jar file using the weblogic tool. I have created a new jar file and now I have to add a bean class file and a home class file to it.In the tool I choose a t

  • Logical Standby - LGWR or ARCH mode

    After reading the [Setting the Data Protection Mode of a Data Guard Configuration|http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_transport.htm#i1183694] , I'm still confusing about it! What is the main difference between LGWR or A

  • DVD SP 2 won't open properly then unexpectedly quits

    DVD SP2 usually opens with a screen asking to create a new project, open existing, etc. that isn't happening anymore. it opens with the log and assets windows. i manually open the menu editor. import an asset. sometimes i can try to bring it into the

  • Page protction check box is disabled in smartform

    Hi Everybody.       I need to have pageprotection for a table node in smartform. The issue is the pageprotection check box is disabled in outputoptions of table node.I tried to create a folder & put this table node inside the folder. Then also the pa

  • Sum in BEx query

    Hi All, I have Account and amount in my BEx query, Where accounts will start with X or Y or Z. user will enter any of the accounts. In my output I want see X accounts (assumin that all accounts starting with X belongs to X group, Y belongs to Y group