Sample application for connecting to model in WD java
Hi ,
Can any one help me out how to connect to model to access sql as i am very new to webdynpro java.
Hi Vijayalakshmi,
Check these
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/webdynpro/wd%20java/wdjava%20tutorials%207.0/using%20ejbs%20in%20web%20dynpro%20applications.pdf
Check this for sample applications & tutorials
https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#20
regards
Sumit
Similar Messages
-
Error in running sample application for tuxedo
Hi
I received the following error when i try to run the sample application "simpapp"
for tuxedo. I have set the ubbconfig file.
i could get tuxconfig file by using tmloadcf commmand.
for running the buildclient and buildserver it gives following error.do i have
to install any c compiler? if so pls. suggest me some good c compiler.
THE ERROR IS :
C:\simpapp>buildclient -o simpcl -f simpcl.c
The name specified is not recognized as an
internal or external command, operable program or batch file.
NLS:4: Cannot open message catalog TUXNT_CAT, set 1, num 77; check TUXDIR=C:\Program
Files\BEA Systems\Tuxedo, LANG=Englis
_United States.1252
THANKS
mageshHi
for Windows NT, which C compiler would be better for compiling the programs
for tux clients and servers?
do we have to use the MS-VC++ compiler and what are the environment
variables to be set if i have to use build(client|server) ?
pls. help me.
thanks
Magesh
"Peter Holditch" <[email protected]> wrote in message
news:[email protected]...
Magesh,
As I already posted, you need a C compiler installed.buildclient
merely invoke the system compiler.
Peter.
Got a Question? Ask BEA at http://askbea.bea.com
The views expressed in this posting are solely those of the author, andBEA
Systems, Inc. does not endorse any of these views.
BEA Systems, Inc. is not responsible for the accuracy or completeness ofthe
information provided
and assumes no duty to correct, expand upon, delete or update any of the
information contained in this posting.
magesh muthukumarasamy wrote:
Hi
After doing the steps which you've told, I got the following error when
I
ran buildclient and builserver respectively :
C:\simpapp>buildclient -o simpcl -f simpcl.c
The name specified is not recognized as an
internal or external command, operable program or batch file.
TUXNT_CAT:77: ERROR: Can't execute cl/MD -I"%TUXDIR%"\include -Fesimpcl
simpcl.c "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"
\lib\libbuft.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib
"%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.
lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
winspool.lib -link -implib:BC-5f.lib
C:\simpapp>buildserver -o simpserv -f simpserv.c -s TOUPPER
cl /MD -I"%TUXDIR%"\include -Fesimpserv BS-1a4.c simpserv.c
"%TUXDIR%"\lib\libtux.lib "%TUXDIR%"\lib\libbuft.lib "%TUX
DIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib
"%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.lib advapi32.libuser32
.lib gdi32.lib comdlg32.lib winspool.lib -link -implib:BS-1a4.lib
The name specified is not recognized as an
internal or external command, operable program or batch file.
CMDTUX_CAT:4180: ERROR: can't execute cl
/MD -I"%TUXDIR%"\include -Fesimpserv BS-1a4.c simpserv.c
"%TUXDIR%"\lib\libtux.l
ib "%TUXDIR%"\lib\libbuft.lib "%TUXDIR%"\lib\libfml.lib
"%TUXDIR%"\lib\libfml32.lib "%TUXDIR%"\lib\libengine.lib wsock3
2.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
winspool.lib -link -implib:BS-1a4.lib
IS IT DUE TO C COMPILER NOT AVAILABLE OR ANY OTHER CONFIGURATIONPROBLEMS?
>>
pls. help me.
THANKS
magesh
"LouisLiu" <[email protected]> wrote in message
news:[email protected]...
Three steps to solve this problem:
1. Set the LANG environment variable: set LANG=English_United
States.1252;
2. In the tuxedo directory Tuxedo\locale, make a new directory named
English_United States.1252;
3. Copy all files in diirectory Tuxedo\locale\C into the newdirectory.
>>>
"MAGESH MUTHUKUMARASAMY" <[email protected]> wrote in message
news:[email protected]...
Hi
I received the following error when i try to run the sample
application
"simpapp"
for tuxedo. I have set the ubbconfig file.
i could get tuxconfig file by using tmloadcf commmand.
for running the buildclient and buildserver it gives following
error.do
i
have
to install any c compiler? if so pls. suggest me some good c
compiler.
>>>>
>>>>
THE ERROR IS :
C:\simpapp>buildclient -o simpcl -f simpcl.c
The name specified is not recognized as an
internal or external command, operable program or batch file.
NLS:4: Cannot open message catalog TUXNT_CAT, set 1, num 77; checkTUXDIR=C:\Program
Files\BEA Systems\Tuxedo, LANG=Englis
_United States.1252
THANKS
magesh -
Sample code for connect to database
Hi
like to know if there is any sample code for me to follow through to connect to database using ODBC.
I am currently writing a program in visual c++.
like to know how to connect database to store image in the database
using visual c++ code.....
hope that is not too difficult.in JSTL pratical guide for JSP programmers by Sue Spielman
<sql:setDataSource var="datasource"
driver="org.gjt.mm.mysql.driver"
url="jdbc:mysql://localhost/db"
user="guest"
password="guest" />
<sql:query datasource="${datasource}...
<html>
<head>
<title>
Display Results
</title>
</head>
<body>
<c:catch var="sqlError">
<sql:query var="bookList" dataSource="${datasource}">
SELECT * FROM books WHERE title LIKE 'J%' ORDER BY author
</sql:query>
</c:catch>
<c:if test="${not empty sqlError}" >
Make sure you have already run the databaseinit.jsp file
</c:if>
<h2>Listing all books that start with a 'J', ordered by author</h2>
<br>
<table>
<th>Title</th>
<th>Author</th>
<c:forEach var="book" items="${bookList.rows}">
<tr>
<td><c:out value="${book.title}" /></td>
<td><c:out value="${book.author}" /></td>
</tr>
</c:forEach>
</table>
</table>
<h2>Show using choose/when/otherwise conditional to display results</h2>
<table>
<tr><th>Title</th></tr>
<c:forEach var="book" varStatus="current" items="${bookList.rows}">
<tr>
<c:choose>
<c:when test="${current.first}" >
<td><font color="#0000FF"><c:out value="${book.title}"/></font></td>
</c:when>
<c:when test="${current.count % 2 == 1 }" >
<td><font color="#FF0000"><c:out value="${book.title}"/></font></td>
</c:when>
<c:otherwise>
<td><c:out value="${book.title}"/></td>
</c:otherwise>
</c:choose>
</tr>
</c:forEach>
</table>
</body>
</html> -
How to make Portal Application for connecting to SAP R/3(backend system)
Hello Experts,
I need to create a portal application that should connect to SAP R/3 & fetch some data in some table according to some input parameters provided at runtime & display the data in TABLEVIEW control.
Anyone can guide me on this i:e- how to go about it. What things i should know or should be aware of before creating this application. Any PDF documents , any help material, any guidance about the same will be of great help.
Thanks,
ChetanChetan,
Webdynpro & Visual Composer ars EP Development Tools.
If you only display BAPI data then go for Visual Composer with requires no coding So I suggest you to go for Visual Composer.
You can also use Webdynpro Java or ABAP to display BAPI data by creating
Adaptive RFC model.
You will integrate Webdynpro applications into EP by creating SAP Webdynpro iView.
*Visual Composer Documents:
http://help.sap.com/saphelp_nw2004s/helpdata/en/a0/0af7d34a8449e2b722878ce270a747/frameset.htm
*Webdynpro Documents:
http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9f
ea07/frameset.htm
Regards,
<b>Ramganesan K</b> -
Proxy Application for connection AND surfing
Does anyone have any recommendations for a proxy application that disguises your connection AND your surfing?
ThanksI'm not aware of any, but you might try something like...
http://www.the-cloak.com/login.html
http://anon.inf.tu-dresden.de/index_en.html -
Veeva Vacations Sample application - Error connecting to database
I am new to WebCenter and I am trying to go through the Veeva Vacations Sample. I am having trouble creating a New Database Connection as described on page 8 of the Veeva_Hands_on.pdf.
I enter the Host of *127.0.0.1*, Port of *8080* and when I test the connection I get the following error.
Io exception: Got minus one from a read call
Any suggestions?
Edited by: user985561 on Sep 29, 2008 12:52 PMHi Jeroen,
Thank you for your response. I am working through the Veeva Vacations example that can be found at
http://www.oracle.com/technology/products/webcenter/owcs_10132_demos.html
I am trying to create a Database Connection in JDeveloper. Starting on page 8 of the veeva_hands_on.pdf it asks you to Define a Database Connection. On page 10 it provides the connection details. Host Name: localhost, JDBC Port 1521. When I try this I get the following errror:
Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:ORCL
So I tried changing it to Host Name: 127.0.0.1, JDBC Port: 8080, which is the Host and port that I see in the URL when I log into the Oracle Database Express Edition from the 10g Database Home page. With this configuration I get the following error:
Io exception: Got minus one from a read call
I am running in a Windows environment with no Firewall software installed that I am aware of...
Thank you for your time
Christine -
Disabling the creation of sample application for new workspace
Hi,
Just wondering if it's possible to disable the sample the application that is created when ever you create a new workspace? Also so that it doesn't create the 'demo' tables and associated sequences. Pretty sure we have this configured at work, but can't remember how we did it.
Any help appreciated.
Ta,
TrentHi,
Yes it is
http://download.oracle.com/docs/cd/E14373_01/admin.32/e13371/adm_wrkspc.htm#sthref154
Br ,Jari -
Sample Applications for Java Portlet Tools
.
Hello,
You can find some 7.3 info here: http://help.sap.com/saphelp_nw73/helpdata/en/ca/6fbd35746dbd2de10000009b38f889/frameset.htm
The examples @ http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproforJavaDemo+Kit should be fine even thought not 7.3 specific.
WD API: http://help.sap.com/javadocs/NW73/SPS01/CE/wdr/com.sap.wdr/index.html
Cheers,
Trevor -
Library or application for an interactive shell/console in Java Swing?
I would like to let users use a Java application that normally runs interactively in the OS shell, taking input from stdin and responding with output to stdout. I would like to run this same class in an Swing window that resembles the terminal window: showing a prompt and whatever the user types should go to stdin of the class, then showing everything the class writes to stdout or stderr in the same window below. Also, as i the system shell, the input caret should stay in the position where the widow expects input and each input should be terminated by pressig ENTER.
How does one accomplish this in Java in the simplest way? Is there a library or open-source tool that provides this functionality?johann_p wrote:
georgemc wrote:
Eclipse and NetBeans do this. You could dig out the source for either and have a look. It might be buried quite deep, though.Thank you for that pointer ... I have found a hint about this in Netbeans when I was googling, but that hint also contained a warning about a huge number of dependencies, which made me shy away from it. Well, you wouldn't need to take them all. IDEs are pretty modular.
If it exists, I'd rather go for a tool that comes as a single JAR :)It's really not all that big a deal to do. The reason you probably haven't found a library to do it is it's such a small task, and the majority of the work will be very specific to your app. It's really not much more involved than file I/O. Here's an idea: rather than worrying about re-inventing the wheel, why not just invent the wheel, and release it yourself, as an open-source library for others to use?
Eclipse to my knowledge does not use Swing but their own GUI toolkit, so that would probably introduce even more dependencies and possibly a different look-and-feel, no?Yes, that's true. More to the point, it introduces native dependencies, which complicates matters a bit. -
Sample data for Revenue model and sales cost model
Can someone provide some sample data for the following model
Sales Revenue
sales Cost
ThanksHi,
you can generate your own sample data, Take a look at this document:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/804b8088-1853-2e10-c78d-f60e7af3d633
hope it helps, -
Oracle Multimedia PL/SQL Web Toolkit Sample Application
Hi,
I am trying Oracle Multimedia PL/SQL Web Toolkit Sample Application for Oracle database 11g Release 2, on the client components of the readme file, it says that oracle http server must be installed, and http server is available on the companion CD of Oracle Database 10g Release 2 (10.2), actually I'm using Oracle database 11g, is it because of database version that I cannot find http server component to add using universal installer or because during installation I chose install on my laptop and not a server?
regards,
Hassane CabirIn apex folder (the downloaded one), there is README.txt under owa which contains information about PL/SQL Web Toolkit and how to upgrade.
This is the content of this file:
PL/SQL Web Toolkit 10.1.2.0.6
Application Express 3.0 requires PL/SQL Web Toolkit version 10.1.2.0.6 or greater.
As a convenience, the PL/SQL Web Toolkit 10.1.2.0.6 is included with Application Express 3.0
in the apex/owa directory. This version of the PL/SQL Web Toolkit is not a replacement for
subsequent versions of the PL/SQL Web Toolkit, as delivered with database patch sets or
Critical Patch Updates.
If the PL/SQL Web Toolkit version is lower than version 10.1.2.0.6, the included PL/SQL Web
Toolkit bundled with Application Express 3.0 should be installed prior to the installation of
Application Express 3.0.
To determine the PL/SQL Web Toolkit version, connect to the database as the SYS user and
run the query:
select owa_util.get_version from dual;
Installing the PL/SQL Web Toolkit 10.1.2.0.6
1) Stop all applications using the database
2) Navigate to the directory apex/owa
3) Connect via SQL*Plus as the database user SYS
4) Run the PL/SQL Web Toolkit installation script by issuing: @owainst.sql
5) Review the output displayed from owainst.sql and ensure no errors were encountered.
6) Confirm the PL/SQL Web Toolkit version is 10.1.2.0.6 or greater by connecting to the database
as the SYS user and running the query:
select owa_util.get_version from dual;
7) Run the utlrp.sql script from the Oracle Database home to recompile all invalid PL/SQL
packages now instead of when the packages are accessed for the first time. This step is
optional but recommended. To run utlrp.sql, issue: @?/rdbms/admin/utlrp.sql
Saad -
SSO java sample application problem
Hi all,
I am trying to run the SSO java sample application, but am experiencing a problem:
When I request the papp.jsp page I end up in an infinte loop, caught between papp.jsp and ssosignon.jsp.
An earlier thread in this forum discussed the same problem, guessing that the cookie handling was the problem. This thread recommended a particlar servlet , ShowCookie, for inspecting the cookies for the current session.
I have installed this cookie on the server, but don't see anything but one cookie, JSESSIONID.
At present I am running the jsp sample app on a Tomcat server, while Oracle 9iAS with sso and portal is running on another machine on the LAN.
The configuration of the SSO sample application is as follows:
Cut from SSOEnablerJspBean.java:
// Listener token for this partner application name
private static String m_listenerToken = "wmli007251:8080";
// Partner application session cookie name
private static String m_cookieName = "SSO_PAPP_JSP_ID";
// Partner application session domain
private static String m_cookieDomain = "wmli007251:8080/";
// Partner application session path scope
private static String m_cookiePath = "/";
// Host name of the database
private static String m_dbHostName = "wmsi001370";
// Port for database
private static String m_dbPort = "1521";
// Sehema name
private static String m_dbSchemaName = "testpartnerapp";
// Schema password
private static String m_dbSchemaPasswd = "testpartnerapp";
// Database SID name
private static String m_dbSID = "IASDB.WMDATA.DK";
// Requested URL (User requested page)
private static String m_requestUrl = "http://wmli007251:8080/testsso/papp.jsp";
// Cancel URL(Home page for this application which don't require authentication)
private static String m_cancelUrl = "http://wmli007251:8080/testsso/fejl.html";
Values specified in the Oracle Portal partner app administration page:
ID: 1326
Token: O87JOE971326
Encryption key: 67854625C8B9BE96
Logon-URL: http://wmsi001370:7777/pls/orasso/orasso.wwsso_app_admin.ls_login
single signoff-URL: http://wmsi001370:7777/pls/orasso/orasso.wwsso_app_admin.ls_logout
Name: testsso
Start-URL: http://wmli007251:8080/testsso/
Succes-URL: http://wmli007251:8080/testsso/ssosignon.jsp
Log off-URL: http://wmli007251:8080/testsso/papplogoff.jsp
Finally I have specified the cookie version to be v1.0 when running the regapp.sql script. Other parameters for this script are copied from the values specified above.
Unfortunately the discussion in the earlier thread did not go any further but to recognize the cookieproblem, so I am now looking for help to move further on from here.
Any ideas will be greatly appreciated!
/MadsPierre - When you work on the sample application, you should test the pages in a separate browser instance. Don't use the Run Page links from the Builder. The sample app has a different authentication scheme from that used in the development environment so it'll work better for you to use a separate development browser from the application testing browser. In the testing browser, to request the page you just modified, login to the application, then change the page ID in the URL. Then put some navigation controls into the application so you can run your page more easily by clicking links from other pages.
Scott -
Need sample application in dotnet to understand the concept of dataMining
Hi,
I am new to data mining and I know the genralize concept of Data Mining. I want to implement the application with Data Mining using c#.net or vb.net but don't know how to start. So any body know any sample application for data mining using c#.net or VB.net
please share the link or source code. Which will real help me and will be food for my thought process for data mining.
Thanks in advance.
Pramodif multiple users are
accessing the same data base row, there will be
different primary key for each and every client.This is incorrect: the PrimaryKey is the unique identifier for each database row. It has nothing to do with users. In order for CMP to work, the container must be able to operate with a single row in the database and be able to distinquish between them.
If your CMP->database table already has one column that's unique, then you declare that CMP field to be <primary-key-field>. If you have more than one column that makes a row unique, you must make your own primary key object. The way the container can tell the difference between these primary key objects is to compare them, therefore the hashCode and equals methods.
Provide me the links where i can find the
answers.This is all discusssed in the J2EE Tutorial. -
Sample app for loading TopLink Cache into multiple server instances
We are looking for a solution for a reporting system for large data size (somewhere around 20G per application). We want to load all data into memory and query from there.
Does anyone have experience on this? A sample application for loading large caches into multiple physical servers would help a lot.
Thanks for your help in advance.Hi pam,
> How would multiple app server help...meaning what's the most beneficial part of having multiple app server in such as scenario.
A good Question, benefit is lot, In simple words Load balance.. Performance in Transfering the messages will be quick, System resource is maintained and you can assign particular adapters for particular interfaces..alone... if you have Multiple App servers....
Regards
Agasthuri Doss -
hi...
Can you throw some light on "A HTMLB " and show some docs or send any Sample Application for the same..??Hi,
please use the link below it might help you
http://help.sap.com/saphelp_nw70/helpdata/EN/08/80f34027ef8d38e10000000a155106/frameset.htm
With Regards,
Venkatesh.H.N
Please reward points if helpful
Maybe you are looking for
-
IPhone randomly prompting me to enter iTunes password. PLEASE HELP!
Within the last 3 days my iPhone has been prompting me to put in my iTunes password randomly. I have tried signing out and back in to the iTunes store... I have seen others who say that they had pending downloads, where would I go to find out if any
-
Here is my problem that I am hoping someone can help me with. I currently have a wireless network setup at home using a Belkin Wireless modem/router. This acts as the internet gateway and enables my computers (2 x mac mini, 1 x windows vista desktop
-
I was importing images from my camera and the battery went dead on the camera and now Aperture will not stop processing and i have to force quit to get out of it. Is there a fix -it guide out there?
-
How to import MS Access Data to Oracle
At form level by clicking a push button I want to import Ms Access Data to Oracle . Is it possible. If yes can you tell me how to proceed.
-
ok, I did post something similar to this in another thread: firefox for me tends to hang on some odd stuff. Specifically clicking on a .torrent link (which should open a OpenWith/SaveAs dialog box) hangs the entire thing, and I am required to kill a