JSp vs Web dynpro
Hi to all, i must create the EP from an internet site.
The site has more table generate from SQL database.
I read that the JSP page don't is recompileted when i call the page that contain the JSP code.
I read that the JSP page is recompilated only with a deploy.
I need one page that refresh your table from the relative database ever, for any visualizzation from the user.
Is all true??
I must create a web dynpro page or exist a JSP alternative?
thanks to all
Hi,
JSPs can either be compiled at deploy-time or during run-time. The most normal is run-time. Run-time means that the first time a user access the jsp, it is compiled into a java class which is executed for this user and all subsequent users. When you deploy a new version, the java classes are deleted.
Both web dynpro and jsp can be used.
Dagfinn
Similar Messages
-
How to call jsp from web dynpro app.
Hi Frndz,
How can I call a JSP from my web dynpro(and here i don't want to redirect to JSP ),I want to call a JSP which can show a message window as alert on top of WDP view.
Here am using CE 7.2 SP1, and my requirement is to call the model(back end) for every minute interval and need to give alert that how many new records r added.With WDP java i haven't find any option to give alert r notifications about new records added, so am thinking to call JSP where I will pass the parameter which can show a alert r notification(like FACEBOOK n outlook notifications).
Please share any ideas ti achieve this,
Thanks in advance.
Regrads
RajeshHi,
If your application should open in a new url, then you can use link to url action to open jsp.
You can also use EPCF navigation api to call any pcd page as well external links
i.e
WDPortalNavigation
.navigateAbsolute("link",[parameters]);
Since your passing parameters, you build url in both the cases.
Ram -
Hi
I want to use JSP and servlet pages in my web dynpro application
how can we add the JSP pages in web dynpro aaplication or how can I achive this functionality?
Thanks
NinadHi,
Have a look at this thread,
Re: web dynpro jsp
Regards,
Saravanan K -
HCM Processes & Forms : Migrating from JSPs to Web Dynpro for ABAP
We are pretty well invested in HCM Processes and Forms. We currently use JSP based forms as the UI for our notifications. We do not, use Adobe Forms.
For a number of reasons, we want to transition to forms based in Web Dynpro for ABAP.
We want to bring a new scenario online using WD4A. Down the road, weu2019ll very likely transition our old JSPs over to the new methodology as well.
I would expect that this is pretty well doable. As part of a proof of concept, we did launch notifications from the web dynpro environment, had them initiate workflow, etc . Weu2019ve also pulled up our web dynpro app from the UWL and portal.
Has anyone gone through this specific exercise u2013 moving from JSPs to WD4A? We are particularly interested in where the integration points will be, working with ISR_PROCESS_EVENT, etc.
Your comments, suggestions, references, etc. are welcomed, as well as any discussion you may offer.
Thanksu2026
...MikeAnd along the same lines, any thoughts around which of the following QISRDPROCESS_TYPEs might be a better choice?
Entry Using ITS Service
Entry Using Adobe PDF
We currently use the ITS Service type. I think this may be our first direction, replacing url links with links to our webdynpro application which woulds need to integrate calls through ISR_PROCESS_EVENT
The Adobe Type seems interesting - Again, we do not, nor will, have Adobe Forms in place for this development. But, I've read some discussion that folks have enhanced out of actual Adobe Form rendering.
Again, the thoughts of the community are welcomed here.
Thanks...
...Mike -
Change pages jsp by web dynpro
I have some jsp pages in the MSS, I change them to Web Dynpro, anyone know if there is already a version that converts these pages or make them from scratch
thanks youHi Hanif
Kindly refer the SAP Notes with Error message 'Sorry, your browser/program is not supported by Web Dynpro'
1599159 - Internet Explorer 9 Release Notes
Solution SAP Note 1694966 - Remove the settings for enabling IE9 and FF4/FF5 in WD Java
Regards
Ram -
Hello All,
We are using web dynpro to add and edit records in a database. We are using jsp to produce reports from the same data since we feel that we cannot acheive the desired effect with web dynpro. The problem is having web dynpro and jsp communicate. I can use portal eventing but sometime I need large amounts of data such as maybe all the search criteria to generate a new report. What would be the best way to do this?
ThanksHow about creating a dynpro that has a form that has hidden objects that you can link a context variable too within your dynpro. Then have the form submit 'action' be the jsp. If you use method=post, you can pass all kinds of data.
-
Hello All,
I am including a jsp in the IFrame of a web dynrpo application. There are other web dynpro components in the view.How can I
make the jsp and web dynpro interact?
And if I am have to interact between the jsp and web dynpro is it better to use an iframe or create a new jspdynpage component
and interact using portal eventing?
ThanksHi Vijay,
i'm new to web dynpro. My requirement is to call an web dynpro application from a normal J2EE web application running on the SAP Server. Is there any way to call via normal jsp. is it possible. if so will the session attributes will be visible inside the webdynpro application. How to get those session attributes?
will u please help me out in this.
Thnx & Regards
Ilan -
Date Type UI in JSP (similar to Web Dynpro)
Hi,
Is there any way in hbj or jsps to display calendar and allow user to choose any date from that calendar?
I know that there is similar type of UI element available in Web Dynpro .. an input field having calendar displayed at it's right corner.
Thanks and regards,
Amey MogareHi Amey,
Using the simple line of code in your jsp, will help to achieve the same.
<hbj:inputField id="inDatle" type="DATE" showHelp="true" value=""/>
Regards,
Venkatesh. K -
Use HTTP Session to pass Object from Web Dynpro for Java to JSP page
Is it possible to get a handle on the HTTP Session object from within a Web Dynpro application? I want to place a Java object in there that can be retrieved by a JSP page.
Thanks in advance.Hi Tom Cole,
You can try this. i am not sure if this will work or not.
HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
You can also try this.
IWDRequest mm_request = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
HttpServletRequest request = (HttpServletRequest)mm_request.getProtocolRequest();
IWDRequest basically wraps the HttpServletRequest. if you are using NW04s then the getProtocolRequest() may not be available.
Regards,
Sanyev -
Can a web dynpro call a web service that calls a jsp?
I'm trying to connect a web dynpro java [2004s] calling a web service that calls a jsp page. then a jsp page that calls a web service that goes to the web dynpro. is this possible?
Thanks!Have you checked out the following J2EE tutorial:
http://www.netbeans.org/download/docs/41/j2ee-tutorial/CMP2.html#wp90149
...The Roster module maintains the team rosters for players in sports leagues. The example has five components. The RosterClient component is an application client that accesses the RosterBean session bean through the bean's remote interfaces. RosterBean accesses three entity beans--PlayerBean, TeamBean, and LeagueBean--through their local interfaces....
Also: http://www.netbeans.org/download/docs/41/j2ee-tutorial/Session4.html#wp82980
Passing an Enterprise Bean's Object Reference -
Hi,
We have JSP, what are the features of web Dynpro over JSP, while JSPs are also used for creation of UIs.
Thank you
regards
SrinivasHi,
Web Dynpro is a client-independent programming model of the SAP NetWeaver technology platform for developing user interfaces for professional business applications. It is based on the model view controller paradim which ensures that the business logic is separated from the presentation logic. This architecture is visible in the Web Dynpro perspective of the SAP NetWeaver Developer Studio (NWDS).
Web Dynpro helps you with the development of Web applications by:
Ensuring platform-independence with the meta model approach
Minimizing the implementation effort through declarative programming
Supporting a structured design process by applying the model view controller paradigm
Providing reuse and better maintainability by using components
Providing graphical support with tools in the Web Dynpro perspective
Providing the SAP NetWeaver Java Development Infrastructure (NWDI) which supports team work with different services such as source code versioning and the Central Build Service.
Regards,
Anagha -
Integrating Flex/Flash in Web Dynpro ABAP(Netweaver 7.0) need info!
Hi all,
I need to embed a flash or a flex object inside a web dynpro abap application.I am working in Netweaver 7.0 and i don't have enhancement pack 1 installed.Is it possible ? If it is possible can anyone please provide me the coding and configuration details.
Thanks,
SaikatI'm afraid that the SAP supplied integration technology - call FlashIslands - is only available from NetWeaver 7.01 and forward. You could perhaps do some simple integration (very little data transfer) with the iFrame UI element - although the iFrame is deprecated in 7.0 and 7.01, but does return to full support in 7.02. The other option would be to use the NetWeaver Portal or NetWeaver Business Client and have two iViews within the page. One iView would have WDA and the other some external technology (BSP, JSP, etc) to host the Flash/Flex content. Not tight integration, but you could potentially use Portal Eventing to at least communicate events.
-
Calling a method in a public web dynpro DC from EP
Hi all,
I have a public web dynpro DC which exposes some methods. I want to call these methods from an EP application (JSP Dynpage). IS this possible to do?
Any info on this would be of great help.
Regards,
Naraharihi,
Step by step solution for calling a webdynpro application from portal is given.
this will help you ....
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7cf6a990-0201-0010-dd80-c09fc1438056
http://help.sap.com/saphelp_nw04/helpdata/en/d8/6ee03fc2269615e10000000a155106/frameset.htm
regards,
ganesh -
Using a Deployable Proxy in a Web Dynpro Application
Hi,
We have a Web Dynrpo application whose model is built from a set of Java business objects (POJOs.) These Java business objects currently make calls to a back-end R/3 system using JCo. We would like to provide the ability to allow the calls to be made over Web Services to the back-end system.
To call the RFMs as web services we have created a Deployable Proxy project, added the proxy as a public part, then referenced that public part in the web dynpro application. At this point we can write code to call the web service that looks something like:
InitialContext ctx = new InitialContext();
Object serviceObject = ctx.lookup("wsclients/proxies/meridium.com/rcmo~proxies/com.meridium.rcmo.ws.proxies.plants.PlantProxy");
Z_MRDM_GET_PLANTSService service = (Z_MRDM_GET_PLANTSService)ctx.lookup("wsclients/proxies/meridium.com/rcmo~proxies/com.meridium.rcmo.ws.proxies.plants.PlantProxy");
Z_MRDM_GET_PLANTSPortType port = service.getLogicalPort();
Z_MRDM_GET_PLANTS plantParameter = new Z_MRDM_GET_PLANTS();
plantParameter.setI_PLANTID(id);
plantParameter.setI_PLANTNAME(name);
Z_MRDM_GET_PLANTSResponse response = port.z_MRDM_GET_PLANTS(plantParameter);
MT001W[] plantArray = response.getET_PLANTS();
The problem is that when I call looup to retrieve the service implementation I get a ClassCastException.
The tutorials for using a proxy in web dynpro all assume that the web service is what the model is based upon but that's not possbile for our scenario we need to call the proxy from the business objects which are the basis for our model.
According to the help documentation for consuming a deployable proxy in a JSP page:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/2d/b9766df88f4a24967dae38cb672fe1/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/2d/b9766df88f4a24967dae38cb672fe1/frameset.htm</a>
It discusses adding JNDI mappings. Is this what's needed for the reference to work in a Web Dypro application too? If so, how would one add the JNDI mappings references to a Web Dynpro application?
Many thanks!Hi Dheeram,
I'm not certain about JSPDynpage specifically, but in a general J2EE Enterprise Application project you can add a reference to the application-j2ee-engine.xml file. For example here's the content of an application-j2ee-engine.xml file that references a proxy:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
<application-j2ee-engine>
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="library">com.sap.mw.jco</reference-target>
</reference>
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="library">com.sap.aii.proxy.framework</reference-target>
</reference>
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="library">com.sap.aii.util.misc</reference-target>
</reference>
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="interface">tc/sec/destinations/interface</reference-target>
</reference>
<reference
reference-type="hard">
<reference-target
provider-name="sap.com"
target-type="library">security.class</reference-target>
</reference>
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="service">tc~sec~destinations~service</reference-target>
</reference>
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="interface">tc~sec~destinations~interface</reference-target>
</reference>
<reference
reference-type="weak">
<reference-target
provider-name="engine.sap.com"
target-type="service">webdynpro</reference-target>
</reference>
<reference
reference-type="weak">
<reference-target
provider-name="meridium.com"
target-type="application">rcmo~proxies</reference-target>
</reference>
<provider-name>sap.com</provider-name>
<fail-over-enable
mode="disable"/>
</application-j2ee-engine> -
Introduction to Web Dynpro Java?
Where can I find a good Introduction to Web Dynpro Java?
Thanks, JJJHi,
Go thru..
What is Webdynpro?
What is Web Dynpro?
Webdynpro Sample Applications and Tutorials
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
SAP WebAs Samples And tutorials
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/7d646a6c-0501-0010-b480-bf47b8673143 [original link is broken]
Basis Webdynpro tutorials....
http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e9/1fc0bdb1cdd34f9a11d5321eba5ebc/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/d08342a7d30d53e10000000a155106/frameset.htm
Web Dynpro Sample Applications and Tutorials:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d [original link is broken]
http://searchsap.techtarget.com/searchSAP/downloads/SAPPRESS.pdf
Check the following thread u can get lot of materials,
WeB Dynpro Documents
Refer these linkshttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/web%20dynpro%20tutorial%20and%20sample%20applications.faq
Why WebDynpro ?
Why WebDynpro ?
Why webdynpro and not BSP or JSP?
Why webdynpro and not BSP or JSP?BSP to WEB Dynpro
BSP to WEB Dynpro
Benifits of using Webdynpro Benifits of using
Webdynpro
Java vs. ABAP WEbDynpro Java vs.
WebDynpro ABAP
regarding Java related webdynpro
Regarding Java related Web Dynpro vs. Struts - a few questions
Web Dynpro vs. Struts - a few What kind of applications are being developed with Web Dynpro?
What kind of applications are being developed with Web Dynpro?
http://www.sappro.com/downloads/OptionComparison.pdf
Hop this will helpful for u..
Urs GS
Maybe you are looking for
-
Hyperlinks don't work, pause button on quicktime music doesn't work, help!
Hi, This is my second time with I web, having created and maintained a site for 2 years I know a lot about the program. The thing that kills me with this program is that even when you think you do something right, there's a chance it just may not wor
-
Button click, leaving projector focus and frozen interactivity
Hello all, I'm am attempting to reword my problem (posted in another post) so as to facilitate getting assistance. Scenario: A button with a mouseover effect attached via a behavior script with the following code -- code that changes the background i
-
I was in the middle of updating to 7.0.3 and Itunes stopped working. Now my phone is stuck in limbo (apple logo with status bar under) My power button doesnt work (of course) How do I get it back to normal?
-
Hi SAP gurus, I came up with a problem on VA05 screen when i was searching purchase order, looks like the " * " / asterisk will not interpret the rest of P/O number once i put in the first 2 or 3 digits of one particular P/O. E.g. P/O "2215.2MOR"
-
Display current POV as text in FR
Hi All, Is there any possibility to print the current POV value as text in a another column??? I have level 0 cost centers which I made as current POV and I want the name of the selected POV member (cost center name) to be printed in the next column.