Servlet Transaction engine for 5000 Applet Clients
Hi,
We want to develop transaction server for 5000 client terminals using java client and server based method.
That means, there 5000 numbers of terminals will send request to server frequently and get the response also.
The transaction data will be stored in the oracle database also. For this needful how do I architech the system.
We prefer Applet (Swing) will be the client application and servlet will be the server application which will run inside the application server.
So if any one have experience on this kind of project please guide me system design.
Apart from this Applet & Server communication, is there any framework which will give the best solution for our requirement.
Our application is same like ATM machine transaction. Like ATM machine, how should i define the server engine and client tier application.
by
dhaya
Hi,
We want to develop transaction server for 5000 client terminals using java client and server based method.
That means, there 5000 numbers of terminals will send request to server frequently and get the response also.
The transaction data will be stored in the oracle database also. For this needful how do I architech the system.
We prefer Applet (Swing) will be the client application and servlet will be the server application which will run inside the application server.
So if any one have experience on this kind of project please guide me system design.
Apart from this Applet & Server communication, is there any framework which will give the best solution for our requirement.
Our application is same like ATM machine transaction. Like ATM machine, how should i define the server engine and client tier application.
by
dhaya
Similar Messages
-
Using the Portal Single Sign-On for java applet clients
Hi
We have a task to build a java applet working within a portlet and comunicating to some session EJB(wrapped BC4J) running on the OC4J. The applet is presumably connecting to server via RMI. This connection should be restricted to some groups of portal users.
When a user is entering the applet he is supposed to be already logged into the Portal.
There is a lot of information on building custom secure portlets using only a pure HTML(same as JSP) client whith the help of the Portal Single Sign-On.
But, is it possible to use the Single Sign-On for establishing a secure RMI connection from applet to OC4J without entering a password in the applet once more?
YuriyPerhaps you can write a small JSP page or PLSQL
web procedure that will grab user name from
the SSO Server (via SSOSDK/mod_osso)
and invoke the applet with encrypted user name.
The applet will receive the encrypted username
and decrypt it to get the clear user name.
This help to get Single Sign-On.
To make sure that environment is secure, encrypted
user name parameter should have random salt,
user name, and time stamp to prevent replay attack.
Applet must make sure that the encrypted users name
time stamp set by the JSP/PLSQL page has value
within a reasonable time limit like 5 minutes -
Where i find trail version of j2ee engine for client machine.
Hi,
I am new bee in sap netweaver . Now i have ecc 5.0 at my office. I need to make WebDyn pro application at my client side. For testing purpose i need to create java environment for running my dynpro applications. So please can any one tell me where i find trail version of j2ee engine for client machine.
Please explain it and provide me paths where i download environment.
Regards,
Gurprit Bhatia"(also, my profile says that I'm running OS X 10.4.6, but I'm not really sure, that's just what one of the disks has written on it that came with my used and very cheap machine "
Click on the blue Apple icon at the top left of your screen and choose About this Mac. That will tell you what your OS version is and what amount of RAM you have. The "More Info" button in the pop-up screen will give you the Apple System Profiler application and that will give you whole bunches of information on the drive space used etc.
David -
Hi!
I wanna ask if somebody knows a servlet engine for the IIS, which is free for commercial use & which is certificated by Microsoft.
Hope somebody can help me!
Thanksthanks for your advice.
i m currently trying to set up the ISAP redirector for tomcat.
one more question: IMHO there are 2 posibilities
1) to install tomcat as standalone server and a different port the IIS
2) to install IIS with the ISAPI redirector to tomcat
please correct me if that's wrong. what's the difference?
And what`s the better solution?? -
SocketPermissions for Chat Server/Client Applet
Hi,
I've coded a chat server/client applet and found that I need to set socketpermissions when using over the net.
I put the following line in my java.policy file under my jdk
permission java.net.SocketPermission ":6288", "connect,accept, listen";
but it still tells me:
java.security.AccessControlException: access denied(java.net.SocketPermission 217.0.0.1:6288 connect, resolve)
any ideas? or am I doing something wrong?
Also I havent set anything for my applet, and wouldnt know how to? if you do have to set permissions for that, do you put the permissions in with the code or something?
Thanks in advance.
Matt.ah, dont worry, I've got it fixed.
that 217.0.0.1 address is because I typed the error by the way, usually it would have my IP.
problem was I had forgot to recompile with my new assigned IP, d'oh! -
Can you tell the transaction for creating the client.
can you tell the transaction for creating the client.
Hi,
Please check this links.
http://help.sap.com/saphelp_nw04/helpdata/en/69/c24c4e4ba111d189750000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/69/c24c0f4ba111d189750000e8322d00/frameset.htm
http://www.sap-img.com/bc049.htm
Cheers,
Simha.
Reward all the helpful answers.. -
No service for system SAPNID, client 800 in Integration Directory
Hi All,
I am getting No service for system SAPNID, client 800 in Integration Directory in tRFC monitor (SM58).
My scenario is IDOC to File.
I did following step in R3.
1. Created RFC destination pointing to XI systems (name:XID)
2. Created IDOC port (name: SAPNID) and use above (XID) RFC in RFC destination.
3. Create Partner Type LI (Partner No. 3000) and add message type ORDERS, set the receiver port (SAPNID) created above.
XI Side.
1. Create Technical System (Name : XID)
2. Business Systems (Name: R3XID)
3. In Integration Repository.
Created Data Type
Import IDOC ORDERS.ORDERS04
Created Message Interface
Created Message Type
In Mapping Object created Message Mapping and Interface Mapping.
4. In Integration Directory
Created the Scenario (name : FILE_FROM_IDOC)
Assign Business Systems as R3XID
Create communication channel(name: FILE_ORDERS_COM_CHNL)
Create Receiver Determination
Interface Determination
Receiver Agreement.
IDOC is triggered correctly but in tRFC monitor I am getting following error
No service for system SAPNID, client 800 in Integration Directory
With regards
SunilHi Udo/Renjith and Rakesh,
Thanks for quick reply and appreciate you help.
Now I can say that there is some problem with my Technical Systems or Business Systems, let me give you details regarding my Technical/Business systems.
During post-Installation i created Technical/Business System, following are the details regarding these systems.
<u><b>Technical Systems.Detail</b></u>
System Name: XID
System Home: crmides
Installation Number: INITIAL Change...
Release: 640
Description:
Administrative Contact:
TMS Domain:
TMS Transport Group Name:
Clients: 100 800 Add...
Message Server: XID crmides
Central Application Server: crmides_XID_00
Secondary Application Servers: Add...
Internet Transaction Servers: Add...
Installed Products: SAP EXCHANGE INFRASTRUCTURE, SAP EXCHANGEINFRASTRUCTURE 3.0 XID
SAP R/3, 4.5B XID on crmides
SAP R/3, 4.6C XID on crmides
Add...
Installed Software Components
Business Systems:
1. R3XID
2. SAPNID
Earlier I have only one Client (100) and One Busines Systems (R3XID)
My XI Systems is XID Host : crmides Client : 100 System Number : 00
My R3 Systems is NID Host : netbw Client : 800 Systems Number : 02
<u><b>Business Systems Detail</b></u>
Name: R3XID
Description:
Administrative Contact:
Business System Role: Integration ServerApplication System
Pipeline URL:http://crmides:8000/sap/xi/engine?type=entry
Integrated Business Systems: SAPNID
Group: (No Group Assigned)Edit Groups...
Transport Targets:
Technical System: XID on crmides Change...
Client: <b>100 of XID</b>
Logical System Name: SAPNID
Installed Products: SAP R/3, 4.5B XID on crmides
SAP R/3, 4.6C XID on crmides
SAP EXCHANGE INFRASTRUCTURE, SAP EXCHANGEINFRASTRUCTURE 3.0 XID
Software Components: ABC, 1.0 of knack
R/3 CORE 4.5B
SAP ABA 4.6C
SAP ABA 640
SAP APPL 4.6C
SAP BASIC JAVA LIBS 6.30
SAP BASIS 4.6C
SAP BASIS 6.40
SAP GUI FOR WINDOWS 4.5B
SAP GUI FOR WINDOWS 4.6C
SAP GUI FOR WINDOWS 6.20
SAP HR 4.5B
SAP HR 4.6C
SAP ITS 4.6B
SAP ITS 4.6C
SAP J2EE ENGINE 6.30
SAP J2EE ENGINE CORE 6.30
SAP JAVA TECH SERVICES 6.30
SAP JCO 6.30
SAP SOFTW. DELIV. MANAGER 6.30
XI ADAPTER FRAMEWORK 3.0
XI CONNECTIVITY SE 3.0
XI TOOLS 3.0
During Post Installation I had one Technical Systems (XID) and one Business Systems (R3XID), after that I created one more Business Systems (SAPNID).
<u><b>SAPNID Business Systems Detail</b></u>
Name: SAPNID
Description:
Administrative Contact:
Business System Role: Application System
Related Integration Server: R3XID
Group: (No Group Assigned)
Transport Targets:
Technical System: XID on crmides Change...
Client: <b>800 of XID</b>
Logical System Name: SAPNID
Installed Products: SAP R/3, 4.5B XID on crmides
SAP R/3, 4.6C XID on crmides
SAP EXCHANGE INFRASTRUCTURE, SAP EXCHANGEINFRASTRUCTURE 3.0 XID
Software Components: ABC, 1.0 of knack
R/3 CORE 4.5B
SAP ABA 4.6C
SAP ABA 640
SAP APPL 4.6C
SAP BASIC JAVA LIBS 6.30
SAP BASIS 4.6C
SAP BASIS 6.40
SAP GUI FOR WINDOWS 4.5B
SAP GUI FOR WINDOWS 4.6C
SAP GUI FOR WINDOWS 6.20
SAP HR 4.5B
SAP HR 4.6C
SAP ITS 4.6B
SAP ITS 4.6C
SAP J2EE ENGINE 6.30
SAP J2EE ENGINE CORE 6.30
SAP JAVA TECH SERVICES 6.30
SAP JCO 6.30
SAP SOFTW. DELIV. MANAGER 6.30
XI ADAPTER FRAMEWORK 3.0
XI CONNECTIVITY SE 3.0
XI TOOLS 3.0
I do not know whether SAPNID is required or not, earlier I used R3XID as Business Systems at the time of configuration now I changed it to SAPNID. I am getting the same error in both the case. -
Hi
I would like to know whether weblogic 5.1 or 6 provides support in a single transaction,
transaction support for both oracle and MQseires, if so where can i find suitable
documentation on this topic
with regards
Priya
The answer is definitely yes, starting in WLS 6.0, with
some two reasonable limitations.
There are limitations are the following:
1. It must be on the server side. The registration of the XAResource
can't happen in a client. It must happen in a startup class
or EJB or servlet, etc. You can start it from a client (invoke
an EJB or servlet) but the resource work must be
on the server side.
2. MQSeries can't be included if it is being used to drive a
Message Driven Bean. Because the message is passed
from MQ Series to WLS outside of a transaction, after
which WLS will start a transaction (if so configured) and
pass it to the MDB, the MQ Series message is not part
of the transaction. The JavaSoft specs don't handle this case.
For WLS JMS, this works because we have defined such
an interface and implemented it. At least one other vendor
understands the importance of having this feature and is
interested in implementing it (it's not IBM).
So to do what you want, it is necessary to:
1. Use the XAResource version of the JDBC driver for Oracle.
WLS is smart enough to look at the driver and see if it
implements the XAResource interface and automatically
register it as a resource. This has been documented
in this newsgroup already or see
http://e-docs/wls/docs60/adminguide/jdbc.html#1075694.
2. Register the XAResource interface for MQSeries programmatically
in the application. The code to do this has been posted
at the BEA developer site for a few months in an article
entitled "Using JTA Transactions to envelope WLS JMS and
IBM MQSeries" (could I be more explicit), located at
http://developer.bea.com/docs/jmsjta.jsp. It references
another document that has more code, describing how to
plug in a "foreign" (non-WLS) JMS provider, of which MQSeries
is one, in a non-transaction manner (you need to do that
first and then just add the resource registration) - see
http://developer.bea.com/docs/jmsproviders.jsp.
All of the necessary code is included in the documents (including
how to download and install the Java libraries for MQSeries).
Several people have told me that they have been able to
use this as a starting place for their applications.
You might also want to look at the JMS FAQ at
http://developer.bea.com/docs/jmsfaq.jsp.
In 6.1, support is added for importing foreign transactions.
That means that in 6.0, WLS can drive a transaction with
WLS JMS, Oracle, and MQ series, with WLS being the
driving force. In WLS 6.1, a non-WLS transaction manager can
drive a transaction that includes (transactionally infects)
WLS resources (like WLS JMS).
There are no white papers that I know of in this area and I haven't
tested it myself (the goal is to have someone try out
having WebSphere drive a transaction with WLS resources, soon).
"Priya" <[email protected]> wrote in message news:[email protected]...
>
> Hi
>
> I would like to know whether weblogic 5.1 or 6 provides support in a single transaction,
> transaction support for both oracle and MQseires, if so where can i find suitable
> documentation on this topic
>
> with regards
> Priya
-
Applet client with DataForms using dial-up
Jdeveloper 3.2, IAS9i
Hello,
Somebody knows if the DataForms are efficient via dial-up?
For example in the Online Orders sample,with an applet client (with DataForms, using dialup to connect to app. server). What happens when an user insert a new employee record. When an user navigate around the fields ocurrs a validation inside the Business Object Tier. What happens with the remote round trips?, It's faster?.
Jdeveloper 3.2.2
IAS9i
Thanks a lot.
nullAny application designed to run over a dial -up connection must be extremely sensitive to the fact that dial-up connection is very slow due to it's bandwidth.
Applets by default require downloading a lot of files to the browser. So you must download your app code, the jdbc drivers and any other required classses.
Applets using BC4J components then must also download the BC4J code. BC4J uses a data cache, so data is also downloaded.
Avoid using applets in this design.
Use JavaServerPages(JSP's) (or servlets) which are a much "thinner" version of the "Thin client" group of tools(applets, servlets jsp's)
WHY JSP's over servlets ??
They are quicker to write than servlets -
Best way for an applet to contact EJB ?
Which is the best way for an applet to connect EJB?
1) Applet --> servlet --> EJB
2) Applet --> EJB
What is the pros and cons of both approach?
ThanksHi there,
This is a tricky question and it would be interesting to hear what others think.
Probably the key factor is what is available to you in terms of communications between the EJB and the applet. If you are on an intranet then having the applet talk directly to the EJB looks favourable as you will almost certainly be able to use RMI/IIOP for communications between the applet and the EJB. If you are forced to use HTTP as the communications protocol then you can't talk directly from the applet to the EJB but there again talking to a Servlet from an applet throws up complications of it's own. In this case you should consider not using an applet at all and instead use a JSP page or pages to handle the presentation.
There is another issue that you need to consider when the applet talks directly to the EJB. If the App server that contains the EJB is on a different system to the one that runs the Web Server you'll have to address some security issues and will have to either have local policy files for the systems running the applet or you'll have to sign the applet and have the clients trust it.
Hope this helps
Amanda
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers -
Hi all
I am doing a scenario IDOC - Xi - IDOC where CRM sends an IDOC to R/3 via PI.
I have configured everything in OCC (CRM system), PI and BSC (R/3 system) but when I test it with the transaction WE19 in OCC nothing happens in PI or BSC.
All i can see if a message in SM58 transaction in OCC.
Function Module - IDOC_INBOUND_ASYNCHRONOUS
Target System - XI.
Status Text - No service for system SAPOCC, client *** in Integration Directory.
Could anyone tell me what is the problem.
Your help will be very much appreciated
Regards
NainaError message: No service for system SAPCRD client 201 in the integration directory
Cause: There is no service without party in PI server that represents OCC server with client details.
Solution:
We send IDocs from system OCC to PI. In the control record (Segment EDIDC40) of the IDoc, the SNDPOR (SenderPort) field contains the value "SAPCRD". The client of the sending system is determined by the MANDT field of the control record. The system ID and client are then used to determine a service without party of the type (business-system/business-service)
In System Landscape Directory (SLD) create a technical system for OCC system and assign a client for the same. Don't forget to assign an "ALE logical system" to the technical system created. Create a business system for this technical system. Then Business System can be imported under service without party/update the details existing in PI.
Edited by: Rodrigo Alejandro Pertierra on Jun 23, 2010 10:28 AM -
Is there any way to use JDK1.4PreferenceAPI in JWS + Applet clients
Dear Friends,
Actually, we are in process of reusing the J2sdk1.4 new utilities like (Preferences API ) in all the applications means Application client, Java WebStart
Client , Applet client. As for as Application client is concern , we do not have any problem at all, Its because of, J2sdk1.4 Preferences API provides an
option to Plugin our Implementation for reading and writing User Preference Information.
But Incase of JWS client or Applet client , we can not Plug in our own Preference Factory Implementation , because of some security concern. We came
to know that it is possible via setting system property -D option and signing the Jar which uses this Preference API class. But it will create more problem
for our client while using our application . So we need to use JDK1.4 Preference with out using above two methodology.
Is there any possible solution which can help me to use the JDK1.4 Preference API in all the clients????.
Please do help me as early as possible. This is very very important for us.
Thanks in advance
with regards,
PitchaimaniDear Sir,
Thanks for your immediate reply, I had solved the problem by putting both the classes in a single signed jar. Now i am get into the new Problem. The problem is, even if i set the SystemProperty for Preference Factory, it doesn't take effect at all.
Actually what happened was, while starting the
Browser(Netscape or IE), browser will try to load all the Java classes (which includes InputMethodManager class also). This InputMethodManager class create an Object for Preference Node and use the same for getting the Preference values. In this case if i invoke My Application(Applet) from the browser, and set the System Property (For Preference Factory), it won't take effect at all. Suppose if i use Preference.userRoot() in my application, it will try to look the Java Preference Object and return the same which is not a desired one. So i would like to know, is there any mechanism to set/reset the Preference Factory (for my Application alone)???
Please help me to get out of this problem. It is very very important for me.
Your help is highly appreciated
Thanks & Regards,
Pitchaimani -
How to take unreconcilled transactions report for a date range ?
hi all,
How to take unreconcilled transactions report for a
data range ?
we have taken unreconcilled transactons from
external reconcillation using filter option mentioning
range of dates,But when we take print out using PLD,
it showing unreconcilled transactions for all dates.
But our client requires it as a standard report from SAP ?
Our client is using SAP B1 2005B PL39.
JeyakanthanHi
Financials -> Financial Reports -> Accounting -> General Ledger.
In the 'Display' dropdown select, 'Unreconciled' .
Hope this should help you. -
Creation of a database engine for mobile devices using j2me
am trying to develop a database engine for mobile devices.. it is to develop a miniature version of the DBMS that
can be deployed on a mobile phone..I have to develop my own code for performing tasks such a s creating a table,
inserting values into it, selecting from it etc..
I limited my self to develop the software so that it can perform 3 functionalities of create, insert,select..
I should be taking the details such as table name and its parameters from the user and then should be able to
create a suitable data structure for it(i tried to develop a class)...
Usage of RMS package helps me partially in this.. I did that and ll be doing that..
I got stuck while developing the code for creation of a table.. I am facing problems in creating a dynamic data
structure for a table and also to use such data structure else where in my project..
I need help in developing an algorithm for this..
I would be very grateful to u all if u help me out in developing the code for this project..I'm sorry for the amount of time it took me to get back. Derby is an open source database written entirely in Java. I do not know if it can support resource constrained devices like MIDP compliant, but may work okay with CLDC.
But outside of Derby being a solution, let me give you a few ideas off the top of my head.
Set up a database server in a separate thread. This server will really be your controller for RMS access.
Since RMS is just a big sequential 'pipe' you will have to think of data as 'frames' - (starttable) (tableID) (tablename) (data) (tablename) (data).....(endtable).
When you need to write additional data, just append it to the end of the RMS object.
When you need to retrieve data, thing are more complex.
1. Read in all data, looking for your particular tableID. This may be made much easier using RMS filters - (I'm not sure, I've never used them)
2. Once start of table of interest is found, stick the data elements in either a java vector or array until you reach the table end identifier. I think vector will be a better choice - trust me. (I think its available in J2ME...)
3. Package this into a do while loop until the element you are searching for is read. If you need to do some sorts on the data or something else that requires the all the data to be present then you need all the data for that particular table. One thing will always be clear. The first data you grab will always be some start table identifier and the last data you grab will be an end table identifier. We just don't know which table because of how we put stuff in the RMS resource.
This provides you a few positives as well as negatives:
Positive:
1. Fast data writes, no need to search for a particular table before accessing it, nor do you need to search for an index in that table.
2. When looking for data, data may* be found without searching through the entire table. This is accomplished with RMS filters or logic test within the RMS read loop.
Negative:
1. Slow when all data of a table is needed (i.e. compute sums or averages of entries). The entire RMS database must be read to ensure all the entries are searched. An example of how this is a problem is as follows: You have 5000 entries in you RMS database resource and you are looking to compute the average of a value in some table. When you first wrote the data to the table, it was done sequentially and no other data for that table exist. But we can't tell if that's the case, so we have to read through all 5000 entries to make sure we looked for every piece of data.
Beacuse of this issue, this database structure, performance may be fine for 50K - 100K entries (depending on table element size), if the reading requirements don't force full data reads. Otherwise, 25K may be an upper limit.
I hope this helps.
Edited by: estarkey on Mar 17, 2009 9:15 PM
Edited by: estarkey on Mar 17, 2009 10:01 PM -
Transaction code for custom table
Hi there,
I created one custom table. I created Tbale Maintenance Generator for this. I have to create transaction code for this table so that user can directly open this custom table in SM30. Can anybody suggest on this. is there any other way to do this so that user can directly open this custom table in SM30 mode?
Regards,
Zakir.Hi
Check this link for creating a transaction code for a TM
http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm
Please go throught below link ..... it was given with screen shots of the T.code Creating for the table after the maintaince view had been created ......
http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
Regards
Anji
Maybe you are looking for
-
Porting *.war files and *.ear files to Weblogic 10.3
If we can figure this issue out, I'll see if I can't publish/post a maven-based solution in the Maven and Oracle forums so that others will not have to go through our pain. We are having all the usual problems regarding where Weblogic expects to find
-
I have scanned a document and then saved it to desktop. It has saved as a pdf. When I have then attached it to email and sent - an message comes up saying no plug ins - The recipent couldnt open files. How can I rectify this so that I can attach pdf
-
Photoshop Album Starter Edition version 3 to version 3.2
How do I update to edition 3.2. System tells me it will overwrite current version - will I loose all my current pictures? Do I have to do something to make sure all are saved.
-
Stacks: is there a way to toggle stacks on/off in a project?
I am uploading photos to MobileMe gallery albums, direct from projects, wanting to include all photos in each project. However, there are stacks in most of them, and no way I can find to upload anything but unstacked photos and stack picks. I'd be ha
-
Has anyone installed XMLP in a multi-node appsTiers environment?
We are experiencing a problem with installing XMLP 4.5. Our EBS 11i(11.5.9) configuration: dbTier is on HP-UX, admin/CM of appsTier is on HP-UX and web/forms of appsTier is on Windows, i.e two nodes appsTier. Applying the major patch 3554613 (XMLP 4.