Creating a simple HelloWorld! Application with NWDS 7.3

Good morning experts!
I have got a problem:
I would like to create a simple "Hello World!" Application (JSP i think) with SAP NWDS (NetWeaver Developer Studio) 7.3.
Then, I want to deploy it on SAP NetWeaver Portal 7.3.
First of all, I have set up in the "Preferences" in the NWDS under "SAP AS Java" my NetWeaver Portal 7.3 System.
So: Can you give me a link to a Tutorial, where I can develop such a JSP-HelloWorld-Site, which I can deploy on the J2EE of NW Portal 7.3 ?
I have tried out several Tutorials in the past, but noone I could build, because there were always errors on the Deployment-Descriptor

Hello together!
After searching for 5 hours I have found such a Tutorial.
There you have the link, maybe somebody has the same problem:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/503193d9-f586-2b10-4eb6-e8b46dc096db
Best Regards.

Similar Messages

  • Help needed in creating a simple paint application

    I want to create a simple paint application using swings in java, i am able to draw different shapes using mouse but the problem is when i select some other shape it simply replaces the already drawn object with the new one but i want the already drawn object also, like appending, what should be done for this, any logic missing here or i should use some other approach?
    Please help me
    package test;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class bmp extends JFrame implements MouseListener, MouseMotionListener,
              ActionListener {
         int w, h;
         int xstart, ystart, xend, yend;
         JButton elipse = new JButton("--Elipse--");
         JButton rect = new JButton  ("Rectangle");
         JPanel mainframe = new JPanel();
         JPanel buttons = new JPanel();
         String selected="no";
         public void init() {
              //super("Bitmap Functions");
              // display.setLayout(new FlowLayout());
              buttons.setLayout(new BoxLayout(buttons,BoxLayout.Y_AXIS));
              buttons.add(Box.createRigidArea(new Dimension(15,15)));
              buttons.add(elipse);
              buttons.add(Box.createRigidArea(new Dimension(0,15)));
              buttons.add(rect);
              Container contentpane = getContentPane();
              contentpane.add(buttons, BorderLayout.WEST);
              //getContentPane().add(display, BorderLayout.WEST);
              addMouseListener(this); // listens for own mouse and
              addMouseMotionListener(this); // mouse-motion events
              setSize(1152, 834);
              elipse.addActionListener(this);
              rect.addActionListener(this);
              setVisible(true);
         public void mousePressed(MouseEvent event) {
              xstart = event.getX();
              ystart = event.getY();
         public void mouseReleased(MouseEvent event) {
              xend = event.getX();
              yend = event.getY();
              repaint();
         public void mouseEntered(MouseEvent event) {
              //repaint();
         public void mouseExited(MouseEvent event) {
              //repaint();
         public void mouseDragged(MouseEvent event) {
              xend = event.getX();
              yend = event.getY();
              repaint();
         public void mouseMoved(MouseEvent event) {
              //repaint();
         public static void main(String args[]) {
              bmp application = new bmp();
              application.init();
              application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         public void mouseClicked(MouseEvent arg0) {
         public void actionPerformed(ActionEvent event) {
              if (event.getSource() == elipse) {
                   selected = "elipse";
                   repaint();
              else if(event.getSource() == rect)
                   selected = "rectangle";
                   repaint();
         public void paint(Graphics g) {
              System.out.println(selected);
              super.paint(g); // clear the frame surface
              bmp b=new bmp();
              if (selected.equals("elipse"))
                   w = xend - xstart;
                   h = yend - ystart;
                   if (w < 0)
                        w = w * -1;
                   if (h < 0)
                        h = h * -1;
                   g.drawOval(xstart, ystart, w, h);
              if (selected.equals("rectangle"))
                   w = xend - xstart;
              h = yend - ystart;
              if (w < 0)
                   w = w * -1;
              if (h < 0)
                   h = h * -1;
              g.drawRect(xstart, ystart, w, h);
    }

    bvivek wrote:
    ..With this code, when i draw an elipse or line the image doesnt start from the point where i click the mouse. It added the MouseListener to the wrong thing.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    import javax.swing.*;
    public class test_bmp extends JPanel implements MouseListener,MouseMotionListener,ActionListener
           static BufferedImage image;
           Color color;
           Point start=new Point();
           Point end =new Point();
           JButton elipse=new JButton("Elipse");
           JButton rectangle=new JButton("Rectangle");
           JButton line=new JButton("Line");
           String selected;
           public test_bmp()
                   color = Color.black;
                   setBorder(BorderFactory.createLineBorder(Color.black));
           public void paintComponent(Graphics g)
                   //super.paintComponent(g);
                   g.drawImage(image, 0, 0, this);
                   Graphics2D g2 = (Graphics2D)g;
                   g2.setPaint(Color.black);
           if(selected=="elipse")
                   g2.drawOval(start.x, start.y, (end.x-start.x),(end.y-start.y));
                   System.out.println("paintComponent() "+start.getX()+","+start.getY()+","+(end.getX()-start.getX())+","+(end.getY()-start.getY()));
                   System.out.println("Start : "+start.x+","+start.y);
                   System.out.println("End   : "+end.x+","+end.y);
           if(selected=="line")
                   g2.drawLine(start.x,start.y,end.x,end.y);
           //Draw on Buffered image
           public void draw()
           Graphics2D g2 = image.createGraphics();
           g2.setPaint(color);
                   System.out.println("draw");
           if(selected=="line")
                   g2.drawLine(start.x, start.y, end.x, end.y);
           if(selected=="elipse")
                   g2.drawOval(start.x, start.y, (end.x-start.x),(end.y-start.y));
                   System.out.println("draw() "+start.getX()+","+start.getY()+","+(end.getX()-start.getX())+","+(end.getY()-start.getY()));
                   System.out.println("Start : "+start.x+","+start.y);
                   System.out.println("End   : "+end.x+","+end.y);
           repaint();
           g2.dispose();
           public JPanel addButtons()
                   JPanel buttonpanel=new JPanel();
                   buttonpanel.setBackground(color.lightGray);
                   buttonpanel.setLayout(new BoxLayout(buttonpanel,BoxLayout.Y_AXIS));
                   elipse.addActionListener(this);
                   rectangle.addActionListener(this);
                   line.addActionListener(this);
                   buttonpanel.add(elipse);
                   buttonpanel.add(Box.createRigidArea(new Dimension(15,15)));
                   buttonpanel.add(rectangle);
                   buttonpanel.add(Box.createRigidArea(new Dimension(15,15)));
                   buttonpanel.add(line);
                   return buttonpanel;
           public static void main(String args[])
                    test_bmp application=new test_bmp();
                    //Main window
                    JFrame frame=new JFrame("Whiteboard");
                    frame.setLayout(new BorderLayout());
                    frame.add(application.addButtons(),BorderLayout.WEST);
                    frame.add(application);
                    application.addMouseListener(application);
                    application.addMouseMotionListener(application);
                    //size of the window
                    frame.setSize(600,400);
                    frame.setLocation(0,0);
                    frame.setVisible(true);
                    int w = frame.getWidth();
                int h = frame.getHeight();
                image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
                Graphics2D g2 = image.createGraphics();
                g2.setPaint(Color.white);
                g2.fillRect(0,0,w,h);
                g2.dispose();
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
           @Override
           public void mouseClicked(MouseEvent arg0) {
                   // TODO Auto-generated method stub
           @Override
           public void mouseEntered(MouseEvent arg0) {
                   // TODO Auto-generated method stub
           @Override
           public void mouseExited(MouseEvent arg0) {
                   // TODO Auto-generated method stub
           @Override
           public void mousePressed(MouseEvent event)
                   start = event.getPoint();
           @Override
           public void mouseReleased(MouseEvent event)
                   end = event.getPoint();
                   draw();
           @Override
           public void mouseDragged(MouseEvent e)
                   end=e.getPoint();
                   repaint();
           @Override
           public void mouseMoved(MouseEvent arg0) {
                   // TODO Auto-generated method stub
           @Override
           public void actionPerformed(ActionEvent e)
                   if(e.getSource()==elipse)
                           selected="elipse";
                   if(e.getSource()==line)
                           selected="line";
                   draw();
    }

  • How to create the simple EJB Applications.

    Hi
    I have asked about the what are the necessary softwares required for creating the Simple EJB Applications.
    I have
    Jdk 1.6,
    Netbeans 5.5,
    J2EE5 ,
    Apache Tomcat 5.5
    what are other necessary softwares?please tell me From where i get the source code samples?
    Please Tell me it is necessary for me..

    Hi U,
    Tomcat is only JSP/Servlet container -- no EJB support.
    Easiest is to download the Netbeans 6.1 bundle including Glassfish and JavaDB, thats all you need + JDK and Java EE of course.
    Glassfish has both web/JSP/Servlet-container and EJB-container, so Tomcat is not needed then.
    ( If for some reason you really want to use Tomcat, you can use it together with OpenEJB for example, to add EJB-support. )

  • Step by step instructions to create a Simple PCUI Application

    I am very new to PCUI and have been trying to get a simple application up and running for the last few days. There always seems to be some problem or the other. At times it gives a dump, at times it gives me a screen without the search request or search result area and when i get all of these done, my application just does not invoke the Query method.
    I would appreciate it if you could give me Step by Step instructions to create a simple PCUI application to search for some data from an existing database table and display it.
    Thanks in advance!!!

    Hi Mithun
    You can also download the PCUI Cookbook from:
    http://service.sap.com/instguides -> my SAP Business Suite Solutions -> my SAP CRM -> my SAP 2005. The title is PCUI Book for CRM 2005.
    The direct link is (which may change so I recommend that you follow the menu path) https://websmp209.sap-ag.de/~sapidb/011000358700001093962006E/PCUIBook50_06.pdf
    Refer the following weblog
    /people/vijaya.kumar/blog/2005/06/10/people-centric-user-interface-pcui--getting-started
    Hope this will help
    Regards,
    Rekha Dadwal
    <b>You gain a point for every point that you reward. So reward helpful answers generously</b>

  • Error R6034 in simple MFC Application with OCCI

    Hello everyone,
    I´m new to the whole occi-topic, and have a little problem.
    After about 3 days of try and error and endless searching through forums I finally managed to make my first application with occi to run. It´s a Win32 console application.
    After a little "celebration" I startet to create a MFC application with the same base functions.
    If I compile the project, I get an error "R6034" when the compiler tries to access the file: "msvcp80d.dll". I think it has something to do with the manifests.
    Here is the output.
    "DBTest_MFC.exe": "D:\fh\proggen\DBTest_MFC\debug\DBTest_MFC.exe" geladen, Symbole wurden geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\ntdll.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\kernel32.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "D:\fh\proggen\DBTest_MFC\DBTest_MFC\oraocci10.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "D:\oracle\product\10.2.0\client_1\BIN\oci.dll" geladen, Die Binärdaten wurden nicht mit Debuginformationen erstellt.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\msvcr71.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "D:\fh\proggen\DBTest_MFC\DBTest_MFC\msvcr80.dll" geladen, Symbole wurden geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\msvcrt.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "D:\fh\proggen\DBTest_MFC\DBTest_MFC\msvcp80.dll" geladen, Symbole wurden geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugMFC_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_c8452471\mfc80d.dll" geladen, Symbole wurden geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcr80d.dll" geladen, Symbole wurden geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\gdi32.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\user32.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\shlwapi.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\advapi32.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\rpcrt4.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\secur32.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\comctl32.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\oleaut32.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\system32\ole32.dll" geladen, Keine Symbole geladen.
    "DBTest_MFC.exe": "C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcp80d.dll" geladen, Symbole wurden geladen.
    Eine Ausnahme (erste Chance) bei 0x7c91eae0 in DBTest_MFC.exe: 0xC0000005: Zugriffsverletzung beim Lesen an Position 0x00000130.
    R6034
    An application has made an attempt to load the C runtime library incorrectly.
    Please contact the application's support team for more information.
    Windows hat einen Haltepunkt in DBTest_MFC.exe ausgelöst.
    Dies kann auf eine Beschädigung des Heaps zurückzuführen sein und weist auf ein Problem in DBTest_MFC.exe oder in einer der geladenen DLLs hin.
    Weitere Analyseinformationen finden Sie möglicherweise im Ausgabefenster.
    Is anyone familiar with this problem an perhaps able to help me?
    I already tried some "workarounds" and played with the manifests, but had no success.

    I assume you have the manifest tool (mt) somewhere on your system - I just open a "Visual Studio Command Prompt" when I have to use with it.
    Something you can try (I'm not certain it will resolve your issue though):
    1. Open a Visual Studio Command Prompt and change directories to %ORACLE_HOME%\OCI\lib\MSVC\vc8
    2. Copy the existing dll files to save them:
    copy oraocci10.dll oraocci10.dll.orig
    copy oraocci10d.dll oraocci10d.dll.orig
    3. Use the mt tool to embed the provided manifest files (you should already have these files in the directory):
    mt -manifest oraocci10.dll.manifest -outputresource:oraocci10.dll;2
    mt -manifest oraocci10d.dll.manifest -outputresource:oraocci10d.dll;2
    NOTE: This is not an Oracle-specific procedure. The manifest tool is used by Visual Studio itself when building projects.
    4. Depending on how you have your system configured, copy the oraocci10(d).dll files to a backup copy as before in whatever directories you have them and then copy the "new" files with the embedded manifest to those locations.
    For example, on my development machine, I have copied the files to %ORACLE_HOME%\bin so that I do not have to include %ORACLE_HOME%\OCI\lib\MSVC\vc8 in my path.
    Let us know if that helps or not!
    - Mark

  • Creating a simple image application in Apex

    select
    "IMAGE_ID",
    <img src="#OWNER#.deliver_thumbnail?p_image_id='||IMAGE_ID||'"/> thumbnail,
    "FILENAME" from "ORDIMAGE_IMAGES"
    where
    instr(upper("FILENAME"),upper(nvl(:P1_REPORT_SEARCH,"FILENAME"))) >
    Its is showing an error
    showing only the coding part when i run the application instead of showing image....
    can you please help me rectify the error
    Edited by: 880021 on 17-Aug-2011 20:58

    Creating a simple image application in Apex
    Create a new application from scratch. Name it ORDImages_images.
    Add a Report and Form Page based on your ORDImage_images table. Ensure that you select a Classic Report (i.e. not Interactive, which is the default). As expected, two pages are created.
    Continue to create the application and then run it.
    After the login page, there will be spurious entries for image and thumbnail.
    This is expected because of the ORDImage columns in the images table.
    Edit Page 1 and open the Images Region
    The Source entry is
    select
    "IMAGE_ID",
    "IMAGE",
    "THUMBNAIL",
    "FILENAME"
    from "ORDIMAGE_IMAGES"
    where
    instr(upper("FILENAME"),upper(nvl(:P1_REPORT_SEARCH,"FILENAME"))) > 0
    In SQL Developer, create the deliver_images_thumb procedure
    CREATE OR REPLACE PROCEDURE deliver_thumbnail(p_image_id IN NUMBER) IS
    l_thumbnail ORDSYS.ORDImage;
    BEGIN
    -- Fetch the thumbnail from the database
    SELECT thumbnail
    INTO l_thumbnail
    FROM ORDImage_images
    WHERE image_id = p_image_id;
    -- Check update time if browser sent If-Modified-Since header
    IF ordplsgwyutil.cache_is_valid( l_thumbnail.getUpdateTime() )THEN
    owa_util.status_line( ordplsgwyutil.http_status_not_modified );
    RETURN;
    END IF;
    -- Set the MIME type and deliver the image to the browser.
    owa_util.mime_header( l_thumbnail.mimeType, FALSE );
    ordplsgwyutil.set_last_modified( l_thumbnail.getUpdateTime() );
    owa_util.http_header_close();
    IF owa_util.get_cgi_env( 'REQUEST_METHOD' ) <> 'HEAD' THEN
    wpg_docload.download_file( l_thumbnail.source.localData );
    END IF;
    END;
    Then
    GRANT EXECUTE ON deliver_thumbnail TO PUBLIC;
    Return to Apex and change the Source entry to
    select
    "IMAGE_ID",
    '<img src="#OWNER#.deliver_thumbnail?p_image_id='||IMAGE_ID||'"/>' thumbnail,
    "FILENAME" from "ORDIMAGE_IMAGES"
    where
    instr(upper("FILENAME"),upper(nvl(:P1_REPORT_SEARCH,"FILENAME"))) > 0
    Apply changes and run the application
    You can now search on substrings of filenames. Note that the image_ID is not shown. To rectify this, Edit Page 1 and open Report in Regions.
    Edit the image_id and under Column Link, change the Link Text to #IMAGE_ID#. Also change the Heading in the Column Attributes to Image ID.
    Apply the changes and re-run.
    Clicking on the image_id link takes you to Page 2 – the form for that image.
    Page 2 is sparse so reveal the image_id by Editing Page 2 and opening the P2_IMAGE_ID Page Item. Change Display as Hidden to Text Field. Apply changes and re-run.
    In Page Items, open and delete the P2_THUMBNAIL item.
    Open the P2_IMAGE item.
    Under Name, change the Display As entry to Display Image (from the select list).
    Under Settings, change the Based On entry to BLOB Column returned by SQL Statement
    Enter
    SELECT i.image.source.localdata
    FROM ORDimage_images i
    WHERE image_id = :P2_IMAGE_ID
    as the SQL Statement
    Apply changes and re-run the application
    Making an image clickable
    Edit Page 1 and open Report in Regions. Edit THUMBNAIL and under Column Link, insert
    <img src="#OWNER#.deliver_thumbnail?p_image_id=#IMAGE_ID#"/>
    as Link Text.
    Select Page 2 as the Target Page in this Application.
    Finally, set Item 1's name to P2_IMAGE_ID and its Value to #IMAGE_ID#
    Removing the Spreadsheet link
    Under Report Attributes, set Enable CSV Output to No

  • Simple C++ application with berkeley

    After reading the documentation of the Berkeley DB listed on the Oracle website, I am quite confused and found no way to build a small application. I want to know, what dlls or header files needed in the real application? Anyone could help me with how to build a small C++ application with Berkeley DB, such as: creating a db, how to build a MFC project with the berkeley db? Thanks a lot!

    Hi,
    Here is the related documentation, on how to build, compile and link with Berkeley DB:
    For UNIX/POSIX:
    Building Berkeley DB: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_unix/intro.html
    Building a small memory footprint library: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_unix/small.html
    For Windows
    Building Berkeley DB: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_win/intro.html
    Building a small memory footprint library: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_win/small.html
    Building with multiple versions of Berkeley DB: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/install/multiple.html
    Building replicated applications: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/rep/app.html
    And here you can find the c++ APIs: http://www.oracle.com/technology/documentation/berkeley-db/db/api_cxx/frame.html
    Regards,
    Bogdan Coman

  • Can I create a simple Drawing App with Crayon, Marker, Paint Bucket and Eraser in Edge?

    I need to create an 'app' that allows user to 'color'/'paint' in simple colorbook pages with a specific color palette or if I can have an expanded color palette great..
    any thots
    I have found the code to do it, but I am not a coder that is why I am investigating Edge...
    Many thanks

    Hi, mark-
    It's going to be hard to do without code in Animate.  Yoshoika Ume-san did a little project in an earlier version of Animate that did it, but it was heavily code centric.
    Thanks,
    -Elaine

  • Creating a simple DVD menu with text as buttons...

    Hi, I am rather new to DVDSP but fairly accomplished at the software designers earlier product, DVD Virtuoso (still use it). Can anyone tell me where there is a tutorial to create a simple text DVD menu? I would like to place a colored rectangle (opacity) behind the text to help it stand off the background and have access to some fairly basic text tools like Bevel & Emboss, Stroke and Drop Shadow. Thank you.

    http://discussions.apple.com/thread.jspa?messageID=2082015&#2082015
    http://discussions.apple.com/thread.jspa?messageID=2601618&#2601618
    Has some discussion and examples I posted elsewhere which should help get you going. Best to do graphics in Photoshop, then make sure all text/layers rasterized, then make them flattened picts. One will be background layer, the other grayscale overlays to map colors (these examples should start you off I think)
    PS I know Hal has a great example with better step by steps, and if I get a chance later I can also fill in details on what I did

  • Creating a WCF MTOM application with Java Client

    Well I am treading into new ground here.  I need to create a WCF that will pull files from a database in an image column and either send them to a Java service that will accept binary data.  We send an XML file to the Server which is running Java. 
    During the processing of the XML the message may indicate that there are files that need to be included (like attachments in email).  So the Java Service (I suppose) would send a request to a .NET WCF service requesting the files.  The service would
    then retrieve the files from the SQL Server (in the image column) and send them to the calling Java application.  I have been looking around the web some and run across MTOM and I suppose this is the best way to send this, but I have a couple of questions:
    1. Do I need to grab the files from the database and stream them to a temp file first, then use MTOM to send the files?
    2. Can I just send the files from the database to the Java client?  The files are read into a byte array and then saved as a binary data type in SQL Server. (Code to create the file below).
    3.  I am coming into this new so examples would be nice, I mean real basic stuff so I can understand how to make this WCF the correct way.  I have no control over the Java Client, I will let them deal with how to configure the data they get.
    Any help is appreciated.
    Code I use to store any file into SQL:
    Dim fs As New FileStream(filePath, FileMode.Open, FileAccess.Read)
    Dim ilen As Integer = CInt(fs.Length)
    Dim bFile(ilen - 1) As Byte
    fs.Read(bFile, 0, ilen)
    fs.Close()

    Hi,
    Welcome to MSDN.
    I would suggest you consider posting this issue in the forum Mr. Monkeyboy suggested.
    In addition, issues about java are not supported in these forums.
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create login page for application with jheadstart

    Is there a how to section for jheadstart?
    After reviewing the jheadstart developer's guide. I am still left with lot of questions:
    1. how to create a login page to allow access to an application using username/password from a database table
    2. how to change the title graphic (jheadstart demo) to (my application)
    3. how to execute a query by hitting enter instead of a mouse clicking a button
    Any suggestion to search for such practical questions in this forum or other blogs and such is appreciated.

    Mahin,
    You can set Authentication Schemes for your applications. If you are using Application Express Authentication, you can create additional users from here:
    1. From Application Express home, click Manage Application Express users.
    2. Click Create to create users. To create end user, select "no" to developer and admin.
    - Christina

  • ADF-Create the multi panel application with one connection to DB

    Hi,
    I create a panel with table and one button.
    When I press the button its opens detail panel.
    That panel has table too. While opening detail panel there creating new connection and my application has 2 connections to DB.
    my cod:
    xxPanel2 panel2 = new xxPanel2();
    panel2.setBindingContext(getBindingContext(mBindingContext));
    …//hear showing panel
    BindingContext mBindingContext = panelBinding.getBindingContext();
    public static BindingContext getBindingContext(BindingContext fBindingContext)
    HashMap fUserParams = null;
    if (fBindingContext == null)
    JUMetaObjectManager.setErrorHandler(new JUErrorHandlerDlg());
    JUMetaObjectManager vJUMOManager = JUMetaObjectManager.getJUMom();
    vJUMOManager.setJClientDefFactory(null);
    fBindingContext = new BindingContext();
    fBindingContext.put(DataControlFactory.APP_PARAM_ENV_INFO,
    new JUEnvInfoProvider());
    fBindingContext.setLocaleContext(new DefLocaleContext(null));
    fUserParams = new HashMap(4);
    fUserParams.put(DataControlFactory.APP_PARAMS_BINDING_CONTEXT,
    fBindingContext);
    vJUMOManager.loadCpx("xproject2.DataBindings.cpx", fUserParams);
    return fBindingContext;
    }What I must add to this cod to have a one connection for whole application.
    Haw could I pass connection to the second panel?
    Thanks!

    I am sending bindingcontext of first panel's panelBindging into the second panel:
    xxPanel2 panel2 = new xxPanel2();
    panel2.setBindingContext(panelBinding.getBindingContext());But ther are exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    at oracle.jbo.JboException.<init>(JboException.java:346)
    at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:225)
    at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:271)
    at xproject2.xxPanel2.setBindingContext(xxPanel2.java:150)
    at xproject1.xPanel1.jButton1_actionPerformed(xPanel1.java:172)
    at xproject1.xPanel1.mav$jButton1_actionPerformed(xPanel1.java)
    at xproject1.xPanel1$1.actionPerformed(xPanel1.java:70)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
    at java.awt.Component.processMouseEvent(Component.java:5488)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
    at java.awt.Component.processEvent(Component.java:5253)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3955)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1774)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:158)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    ## Detail 0 ##
    java.lang.NullPointerException
    at oracle.jbo.uicli.jui.JUPanelBinding.bindUIControl(JUPanelBinding.java:821)
    at xproject2.xxPanel2.jbInit(xxPanel2.java:69)
    at xproject2.xxPanel2.setBindingContext(xxPanel2.java:145)
    at xproject1.xPanel1.jButton1_actionPerformed(xPanel1.java:172)
    at xproject1.xPanel1.mav$jButton1_actionPerformed(xPanel1.java)
    at xproject1.xPanel1$1.actionPerformed(xPanel1.java:70)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
    at java.awt.Component.processMouseEvent(Component.java:5488)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
    at java.awt.Component.processEvent(Component.java:5253)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3955)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1774)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:158)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)What could I do to solve this problem?
    No I have not MSN if you want you can write me in my mail: [email protected]
    Thanks for your answer.

  • Error: Create new Self-Service application with FPM

    Hi,
    I'm creating a new self-service application using FPM. I ran into this error when launching the application:
    [email protected]385c385c
    Any help would be much appreciated. Thanks.
    - julius

    Hi,
    According to your error message, it can be caused by the search service application cannot set up a network share for every query component where the crawlers can dump their data.
    For troubleshooting your issue, please make sure the Server service in Services.msc is started, and your account is a member of WSS_WPG group and  WSS_WPG group has full control permission on C:\Program Files\Microsoft Office Servers\15.0\Data\Office
    Server\Applications(if using default locations).
    For more information, you can refer to the blog:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/0762de1a-f9df-4a9a-bc7c-5cb26009435f/sharepoint-2010-search-service-application-stuck-in-initializing-status?forum=sharepointadminprevious
    Best Regards,
    Eric
    TechNet Community Support
    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]

  • Hello, is Fireworks right for creating a simple interactive game with buttons and small animations?

    Hello,
    I could really use some advice with a new project I am undertaking,
    I am looking to design a step-by-step game where users will be required to click on my artwork at each stage to get the next one. I would like different animated consequences to occur according to which button option is chosen at each stage. Eventually I would like for it to be a website that anybody can enter. I was wondering which programme would be ideal to use, I have access to Adobe Flash, Fireworks and Dreamweaver, but currently I only have a very basic grasp of them. This would be a long-term project I will be working on, so I am prepared to learn the appropriate programme, but if you could help me with which one that would be and any tips, I would be really grateful.
    Thanks very much,
    Hugo

    Here I mentioned that you should use a graphics editor such as "Firefox" when I meant to say Fireworks.  Fireworks is NOT an interactivity program even though it might be able to do simple rollover buttons.  Please use Flash for that.  It will provide greater control for you as you will begin to see once you invest in a Flash book.  And in Flash a game is not really simple if it is interactive.  The part that makes it interactive is ActionScript and that is where you should focus your energies.  There are even books dedicated to teaching game programming in Flash.
    Hope this helps,
    markerline

  • Creating a Simple Flash Movie With Poster Frame and Play/Pause Buttons

    Hi, It's been over a year since I played with Flash last, and
    I have completely forgotten everything I learned.
    I have a .flv file which I want to play on my website. It
    should display a poster frame when the page load, and not autoplay
    the movie. It should have the play button I made in photoshop
    sitting on top of the poster frame. When pressed, the movie should
    start playing and the button should be shifted for the pause button
    I made in PS (it should work just like the play/pause button in
    iTunes). When the movie has finished playing, it should jump back
    to the poster frame.
    I have tried using the flvplayback component and also played
    around with just embedding the flv directly and inserting a play
    and pause button from the common library, but I can't seem to get
    it to work. With the flvplayback component I have managed most of
    it apart from using my own buttons and getting the poster frame to
    work (which apparently has to be done with Action script).
    Any help appreciated.

    Which version of Flash/actionscript are you using? Since you
    are just starting out, you should read one of Adobe's tutorials on
    the matter. Either use Flash Help to find examples on how to use
    Flash or go to their website. Here is a great tutorial for someone
    just starting out. Make sure you read all three tutorials in "Using
    Flash for the first time".
    http://www.adobe.com/devnet/flash/getting_started.html

Maybe you are looking for