BW and Java (principle question)
Hi,
during my studies I was an entusiastic Java-Programmer. Now it seems so, that my work life will begin with the BW. So I ask you, in which fields of BW I might get touched with Java in future?
thanks
Tobias
Hi Tobias,
as there is a software development kit available for java and BI you will get into touch with it.
Check out this link: https://www.sdn.sap.com/sdn/downloadarea.sdn
regards
Siggi
Message was edited by: Siegfried Szameitat
Similar Messages
-
JDeveloper and Java Version question
I would like to know how to change the version of java that JDeveloper is using. I have 1.5 installed on the machine, yet the default version is 1.4 which i can see what going into help. How may I change JDev so it uses 1.5?
Thank you,
RussSet the JDK version with Tools>Project Properties>J2SE Version field.
-
Question About Xerces Parser and Java JAXP
Hi,
I have confusion about both of these API Xerces Parser and Java JAXP ,
Please tell me both are used for same purpose like parsing xml document and one is by Apache and one is by sun ?
And both can parse in SAX, or DOM model ?
Is there any difference in performane if i use xerces in my program rather then JAXP, or is ther any other glance at all.
Please suggest some thing i have and xml document and i want to parse it.
ThanksHi
Xerces is Apaches implementation of W3C Dom specifiacation.
JAXP is a API for XML parsing its not implementation.
Sun ships a default implementation for JAXP.
you have factory methods for selecting a parser at run time or you can set in some config file about what is the implementaion class for the SAXParser is to be chosen (typically you give give the class file of xerces sax parser or dom parser etc..)
go to IBM Developerworks site and serch for Xerces parser config. which have a good explination of how to do it.
and browse through j2ee api .may find how to do it. -
What is difference between C# Gzip and Java swing GZIPOutputStream?
Hi All,
I have a Java swing tool where i can compress file inputs and we have C# tool.
I am using GZIPOutputStream to compress the stream .
I found the difference between C# and Java Gzip compression while a compressing a file (temp.gif ) -
After Compression of temp.gif file in C# - compressed file size increased
while in java i found a 2% percentage of compression of data.
Could you please tell me , can i achieve same output in Java as compared to C# using GZIPOutputStream ?
Thank a lot in advance.797957 wrote:
Does java provides a better compression than C#?no idea, i don't do c# programming. and, your question is most likely really: "does java default to a higher compression level than c#".
Btw what is faster compression vs. better compression?meaning, does the code spend more time/effort trying to compress the data (slower but better compression) or less time/effort trying to compress the data (faster but worse compression). most compression algorithms allow you to control this tradeoff depending on whether you care more about cpu time or disk/memory space. -
What is the diffrence between My Runnable Interface and Java Runnable
Hi folks
all we know that interfaces in java just a decleration for methods and variables.
so my Question is why when i create an interface its name is "Runnable" and i declared a method called "run" inside it.then when i implements this interface with any class don't do the thread operation but when i implement the java.lang.Runnable the thread is going fine.
so what is the diffrence between My Runnable Interface and Java Runnable?
thnxHi folks
all we know that interfaces in java just a decleration
for methods and variables.
so my Question is why when i create an interface its
name is "Runnable" and i declared a method called
"run" inside it.then when i implements this interface
with any class don't do the thread operation but when
i implement the java.lang.Runnable the thread is going
fine.
so what is the diffrence between My Runnable Interface
and Java Runnable?
thnxClasses and interfaces are not identified by just their "name", like Runnable. The actual "name" the compiler uses is java.lang.Runnable. So even if you duplicate the Runnable interface in your own package, it's not the same as far as the compiler is concerned, because it's in a different package.
Try importing both java.util.* and java.awt.* (which both have a class or interface named List), and then try to compile List myList = new ArrayList(); -
I am a IT graduate and I still need some clarification on the relationship between Java SE and Java EE API. Does EE include SE?
For application development, I know I can use only SE without the EE, but can I use EE alone without SE?
Any good articles addressing my questions?
Thank you very much
RJava EE in fact extends java SE, its primarily aim is to simplify developing multitier enterprise applications (Java SE provides all the necessary basic libraries etc.)
Because Java EE is an extension of Java SE, you cant use EE without SE - without SE there is no EE. -
SSO between Portal and Java WD application
Hi Experts,
I am using CE 7.2 on localhost and I am very new to SAP.
I need to know how can I get SSO between Portal and Java WD. I have a WD application that displays the logged in user using "IUser currentUser = WDClientUser.getCurrentUser().getSAPUser()", as well I can use "IUser user = UMFactory.getAuthenticator().getLoggedInUser()". Both work.
Q1. What is the difference in the 2 above?
Q2. My WD application is set to authenticate user. The WD application is in URL iView. I need SSO between Portal and WD application. Is there a way to get this SSO without SAP Backend (ECC), for now I just need SSO between Portal and Java WD appl.
Everything is in localhost.
Please advice. Thanks.> need to know how can I get SSO between Portal and Java WD.
Then I suggest you ask your question in the Web Dynpro Java forum instead of the Web Dynpro ABAP one. -
I have used Firefox as my default browser for many years. I've recently started getting a Java error message. It pops up continually. I have updated flash and java. I have uninstalled and re-installed Firefox and nothing has helped. I have had to start using Chrome instead of Firefox which I don't care for but I don't have the java error with Chrome. How do I fix this problem? The error reads as follows:
Java Script Application
Error: syntax errorYour '''JavaScript''' error has nothing to do with the Java plugin . It is likely caused by an added extension (the earlier forum threads [/questions/944619] and [/questions/943088] mention disabling or updating the Social Fixer extension will resolve the problem).
You can read this article for help troubleshooting your extensions: [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] -
How not to use Cold Fusion and Java
Overview
This write up is intended to give java developers that are
developing ColdFusion applications some beneficial information:
things that are not documented.
Scenario
The company builds enterprise class web application software
for fortune 500 companies. It had purchased a CF 7 based product,
had and existing proprietary J2EE based product, and needed to
integrate the two while meeting a host of new requirements. These
requirements were based on delivering a better user experience,
faster / cheaper integration, increased flexibility /
configuration, useablily, decreasing maintenance costs, the ability
to deploy in either install or ASP models. An initiative was
started to create a new framework that integrated the best of each
technologies. Tactically, this meant that we were to build a hybrid
CF and java application: one that used building blocks (decoupled /
cohesive components) that would allow applications to be rapidly
assembled, configured and deployed. This made sense on several
levels, the team was composed of Java and CF developers, the CF
rapid application development was very productive, there is great
functionality delivered in the CF platform and initial performance
tests showed no cause for alarm
The agreed upon design, based on requirements, and analysis
by both the CF and Java staff has us using CF in the presentation
layer, using a CF based MVC, use of CF based web services. The MVC
was deployed using CFC inheritance for model objects and views made
use of CF custom tags. The internals of the application, used a
rules engine, some proprietary java, ORM, and other J2EE
technology. The initial performance of the system was reasonable.
We pushed on with product implementation.
Then it was time to load test the application, and tune it.
Under load the response times were orders of magnitude slower,
sometimes the pages even timed out.
Armed with our profiler, oracle execution plans and we
charged ahead addressing issue after issue. Note that we took
meticulous care in tweaking the active thread pool and ensuring
that our CF setup was tuned for our application. None of the
observations here are a condemnation of the language; rather they
are aspects that, when considered together, not conducive for
building integrated java and CF frameworks that use a structured /
OO programming practices. Further detail can be provided on
request.
CFC inheritance should be avoided - resolution of variable
scope is expensive even if properly declared.
Since CF creates a class per method under the covers call
stacks become very large, especially if used in a loop. This is
nominally exacerbated by CF calls necessary to set up for the
method call (String.toUpper()).
Nesting of loops and if statements should be kept to a
minimum - the conditional for each lookup of logical operator like
LT, GT are synchronized. Under load this results in thread waits.
Jrun has as single thread pool - both http and web service
requests use the same pool. Under load this leads to thread
deadlock. There are work arounds, but they are painful.
Recursion should be avoided - we had a few recursive routines
and these had to be rewritten.
Custom Tags - should be used sparingly - each custom tag
makes a synchronized call to the license server - (This may be
fixed in CF 8)
Summary
In the end we got the performance to reasonable numbers, but
we ended up moving some code to java (Custom Tags) and getting rid
of 'good programming' practices (Inheritance, loops, etc), mandated
proper variable scoping for those things left over. We prototyped a
sans cold fusion implementation and had an order of magnitude
improvement in performance and number of requests served per
second.
The lesson? Use Coldfusion in its sweet spot: make a query,
iterate over the results and format for display. Extensive use of
structure programming techniques or OO CFCs should be avoided: they
will work but under load - but are better as a prototype. Building
frameworks in CF? Think twice, no three times, and, if you must, be
minimalist.
Textinteresting aslbert123,
Not that I doubt you, but could you answer some questions
about your implementation that was so slow:
1.) Did you put your CFCs in the application or server scope?
2.) Were you initializing your CFCs, via CreateObject or
<cfinvoke>, on every request?
3.) Are you sure that you were properly Var'ing every
variable in your methods? (people typically forget about query
names and loop iterator variables)
4.) Could you give examples of how your inheritence was set
up?
5.) For CustomTags, did you call them the old <cf_tag>
way or the newer, better-performing <cfimport> way?
6.) How did you connect CF to Java exactly?
Thanks,
Aaron -
Hi, I have uninstalled and re-installed Java. When I look at Add-ons, it shows Java Platform SE7 U17 10.17.2.2 and Java deployment Toolkit 7.0.17… 10.17.2.2 enabled. But it is not working – and I do not see the Firefox plugin to allow occasional use of Java.
One useful thread which discusses several difficulties in detail is
https://support.mozilla.org/en-US/questions/944956?esab=a&as=aaq
I tried to follow scrumpyjoe’s advice in this thread:
“This fixed it for me (32 bit windows) after installing Version 7 Update 10, but not seeing the plugin:
1) start regedit
2) navigate to HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins
3) right click, add New Key, name: @java.com/JavaPlugin,version=10.xx.xx
4) click on it, then right click and add new string value, name: path
5) right click, Modify, change value data to: C:\Program Files\Java\jre7\bin\plugin2\npjp2.dll [check if this is the right dll for your setup]
6) exit regedit
7) start FF”
- but (unless I have made a mistake) it has not resolved my problem.
What can I try next, please ?
Background:
Asus NX90jq
Intel core I7
700GB free disk space
16384Mbytes memory
O/S: Windows 7 Ultimate, 64-bit
UPDATE 2apr13
I have now unistalled and re-installed Firefox 20.0. restored preferences etc. using MozBackup, and Java Platform and Java Toolkit10.17.2.2. both show as working Add-ons - BUT STILL NO JAVA AND STILL NO RED ICON IN TOOLBAR. What is going on, please ?I don't understand any of these replies. How do I get Java to run for Pogo.com? I had no problems a week ago. I do not have the red icon. I am not a programer so keep it simple. I am a 59 year old speech therapist.
[email protected] HELLLLLLP -
Intel Mac Mini, Firefox and Java
I'm running an Intel Mac Mini using Firefox; mostly it's fine, but sometimes it behaves as if it and Java Applets have had a falling out.
I have made sure that I have the very latest version of JRE to go with OSX, but when I go to http://www.f1.com and log on to "Live Timing", the frame comes up, but no steaming teacup, then the bottom LH corner says "Done", but the timing area is still blank. Live timing works in Safari & Opera on the same computer, and on any PC running IE6.
Going to the help section on the live timing box says to go to download the latest version of JRE from the Apple.com website - if I try to do this, OSX refuses the download saying it is older than the version already installed.
I have sent questions to both Sun & Mozilla weeks ago, but have received no reply; any ideas?Dont really have any solution other than the fact that some browsers act funny on certain sites. I think it is specific to the browser, not the computer itself. I have encountered the same thing with certain applets. Also just wanted to give a shoutout from another F1 fan. Good season so far, I think Alonso has the Chin's number this year.
-
Abap and java stack together gives error message...
I am trying to install abap stach and java stack together.
I installed abap was without problem but when I install Java i get the error below.
I tried SP09 and since it didnt work Sp07 also since I had it with me downloaded before.
Any help ??? Got stuck
I need to install together to practice webdynpro...
E:\NW2004sSP7_Preview\SAP_NetWeaver_2004s_SR_1_Installation_Master_DVD__ID__NW05SR1_IM1\IM_WINDOWS_I386\NW04S\WEBAS\ADA\control.xml
George
INFO 2006-11-30 15:10:12
An error occured and the user decided to rety the current step: "|NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|collect".
ERROR 2006-11-30 15:10:14
FJS-00003 TypeError: this._name has no properties (in script NW_Java_OneHost|ind|ind|ind|ind, line 8987: ???)
INFO[E] 2006-11-30 15:10:13
FSL-02077 File system export (share) saploc does not exist.
ERROR 2006-11-30 15:10:14
FCO-00011 The step collect with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|collect was executed with status ERROR .
THis error was gone when I used the registry cleaner for removing ABAp stack But now question is How do I install BOTH????
May be the instance number is the problem....
In old version of ABap stack we can enter the instance number .But not in SP 9 .Can we change here too?
E:\NW2004sSP7_Preview\SAP_NetWeaver_2004s_SR_1_Installation_Master_DVD__ID__NW05SR1_IM1\IM_WINDOWS_I386\NW04S\WEBAS\ADA\control.xml
This file holds the Key of the errors since it checks for the instance number which is given in the log as details.. May be we can change it....
In ABap STack install instead of files as in SP 07 they have created an image and may be this si the reason that
we cannot customize.I have to find a way in order to install it...i found soltuion myslef THe lates WAS for abap is preconfigured and so its not suitable for abap-java multiple installation
-
Explicity mapping between ActionScript and Java objects for the BlazeDS Messaging Service
The BlazeDS documentation shows how to explicitly map between ActionScript and Java objects. For example, this works fine for RPC services, e.g.
import flash.utils.IExternalizable;
import flash.utils.IDataInput;
import flash.utils.IDataOutput;
[Bindable]
[RemoteClass(alias="javaclass.User")]
public class User implements IExternalizable {
public var id : String;
public var secret : String;
public function User() {
public function readExternal(input : IDataInput) : void {
id = input.readObject() as String;
public function writeExternal(output : IDataOutput) : void {
output.writeObject(id);
and
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
public class User implements Externalizable {
protected String id;
protected String secret;
public String getId() {
return id;
public void setId(String id) {
this.id = id;
public String getSecret() {
return secret;
public void setSecret(String secret) {
this.secret = secret;
public void readExternal(ObjectInput in) throws IOException,
ClassNotFoundException {
id = (String) in.readObject();
public void writeExternal(ObjectOutput out) throws IOException {
out.writeObject(id);
If I called an RPC service that returns a User, the secret is not sent over the wire. Is it also possible to do this for the messaging service? That is, if I create a custom messaging adapter and use the function below, can I also prevent secret from being sent?
MessageBroker messageBroker = MessageBroker.getMessageBroker(null);
AsyncMessage message = new AsyncMessage();
message.setDestination("MyMessagingService");
message.setClientId(UUIDUtils.createUUID());
message.setMessageId(UUIDUtils.createUUID());
User user = new User();
user.setId("id");
user.setSecret("secret");
message.setBody(user);
messageBroker.routeMessageToService(message, null);Hi Martin. The way that AMF serialization/deserialization works for BlazeDS is the same regardless of which service is being used, so yes that code will work for messaging as well. On the server, the serialization/deserialization of messages happens at the endpoint. For an incoming message for example, the endpoint deserializes the message and then hands it off to the MessageBroker which decides which service/destination to deliver the message to.
That was a good question. Thanks for asking it. Lots of people are used to doing custom serialization/deserialization with the RPC services (RemoteObject/RemotingService) but I'm not sure everyone realizes they can do this for messaging as well.
-Alex -
Errror in RFC connection between SCM ABAP stack and JAVA Stack
Hi All
we have installed SCM Abap stack and SCM java stack on same system within single database.when i create rfc connection AI_RUNTIME_JCOSERVER from SCM Java stack to SCM Abap Stack its working fine,but when i am configuring same from SCM Abap to SCM Java using SM59 its giving error.
Error Details Error when opening an RFC connection
Error Details ERROR: failed to open file G:\usr\sap\SCD\DVEBMGS00\data\sideinfo.DAT
Error Details LOCATION: SAP-Gateway on host OPS20SCD1.Octal.pet / sapgw00
Error Details CALL: fopen
Error Details COMPONENT: SAP-GW-LIB (ReadSideInfo)
Error Details COUNTER: 1854
Error Details ERROR NUMBER: 2
Error Details ERROR TEXT: ENOENT: No such file or directory OR: The system cannot find the fi*
Error Details MODULE: gwxxside.c
Error Details LINE: 274
Error Details RETURN CODE: 451
Error Details SUBRC: 0
Error Details RELEASE: 701
Is it compulsory to create RFC connection between abap and java installed on the same system.
plese suggest.
Regardsto configure acceptance of the ABAP (integrated ITS / WebGUI) saplogonticket on the java stack, just log into the java stack (http://FQDN:50xxx/nwa) and select configuration THe last item in the list is Trusted System... click.
on the ensuing page, click on the add trusted system button --> by querying trusted sytem.
Enter the required data on the page:
system type: ABAP
host name: FQDN
System Nr: your instance number
client (of the productive client)
and a username and pw with superuser priveliges in the system (SAP_ALL/SAP_NEW, etc).
the click next
On the final screen, click finish.
You have now SSO setup between the ABAP and Java stacks. To configure SSO to accept java saplogontickets on ABAP see:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2b0310d6-0801-0010-3185-b2371a280372
This should resolve your question. -
ABAP and Java Stack: Which to choose/supported standards and components?
Hello,
I am trying to understand the role of the two stacks in NW. Maybe anyone has a few
hints where I can find answers to the following questions:
- An overview of supported Standards (Java 5 since when?)
- An overview of which component runs on which stack? Portal->Java, Integration Server->ABAP and so on.
- Guidelines when to install both stacks and when to use just one stack? When do I use which one?
- Has SAP an stategy towards an one Stack solution (possibly Java?)
Best regards and thanks for any pointers!
StefanAn overview of supported Standards (Java 5 since when?)
Go to service.sap.com/pam
Product Availability Matrix will tell you about supported version and platforms.
An overview of which component runs on which stack? Portal->Java, Integration Server->ABAP and so on.
Usually the question goes the other direction: what stacks we need for implementation of a particular function?
More and more products require ABAP backend and Java frontend.
For example Employee Self Service has been transerred from ABAP only ITS based to ABAP backend and Java frontend.
Same with SRM.
Guidelines when to install both stacks and when to use just one stack? When do I use which one?
Same as above, driven by business requirements, not technology.
Has SAP an stategy towards an one Stack solution (possibly Java?)
No. Core business functions are still being developed on ABAP and interface, GUI etc utilize JAVA.
Regards,
Slava
Maybe you are looking for
-
How to calculate the time duration on a datetime column?
Hi guys, I've done some search on this forum and everywhere else but I can't seem to get this right, at the beggining it sounded like something very simple to accomplish, for the instance with Excel but I'm struggling to get it to work with Crystal R
-
I'm stuck in Limbo. I cant complete the install and cant revert back to snow leopard. All I have are the installer utilites (including safari). I'm running a summer 2009 release macbook pro 17 inch. I downloaded the Lion install app and proceeded
-
Hi, Can i load the output of flex in to a movieclip using as3, like swf loading in to a movieclip? Can anybody help me? Thnks and regards, Sreelash
-
Storing report document in Session
Hi I have followed the advice on storing the Report document in the Session object. My code does this in the Page_Load event when not a postback. It all seems to work until I attempt to drill down to a sub report. I'm then asked for parameter info ev
-
WAAS - Some connections optimized, some not (mostly PT In Progress)
Hello, I have an issue with WAAS acceleration. I have two sites, each one has a WAE apliance. I do the traffic redirection with WCCP v2. Topology picture is attached. Between remote and central site there are two GRE tunnels, Tunnel 31 is primary, Tu