NWDS 7.3 yeni proje oluşturma işlemi (NWDS create,generate new project operation)

deploy işlemini gerçekleştirebilirsiniz. NWDS7.3-> File-> New-> Other-> Web-> Dynamic Web Project-> Next-> ProjectName :MyApplicationName Project contents :Use default :checked Target runtime :SAP Libraries Dynamic web module version :2.5 (for SAP-Specific Web Module) Configuration : Default Configuration for SAP Libraries EAR membership :Add project to an EAR (checked) Next-> Next-> Web Module :Generate web.xml deployment descriptor (checked) Finish-> (for JSF) Configuration : Modify…-> JavaServer Faces v1.2 Project (checked)-> OK-> EAR membership :Add project to an EAR (checked) Next-> Next-> Web Module :Generate web.xml deployment descriptor (checked)-> Next-> (for JSF) if exist JSF Implementation Library :Mojarra228 :checked if not exist Manage libraries…-> New…-> User library name :Mojarra228-> OK-> Select Mojarra228-> Add JARs…-> Select javax.faces-2.2.8.jar-> Open-> OK-> Mojarra228 checked-> Finish (for JSF) MyApplicationName-> Web Content (right click)-> New-> Other-> Web-> HTML Page-> Next-> File Name :index.xhtml-> Next-> Templates :New XHTML File (1.0 transitional)-> Finish (for SAP-Specific Web Module) MyApplicationName-> Web Content (right click)-> New-> Other-> Web-> HTML Page-> Next-> File Name :index.html-> Next-> Templates :New HTML File (4.01 transitional)-> Finish (for SAP-Specific Web Module) MyApplicationName-> WebContent-> WEB-INF-> lib : com.sap.security_2.0.0.110406113455.jar tc~km~frwk.jar (for JSF) MyApplicationName-> WebContent-> WEB-INF-> lib : primefaces-*.*.jar (for JSF) MyApplicationName-> Web Content-> WEB-INF-> web.xml-> [code language=”xml”] <web-app> … <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.xhtml</url-pattern> </servlet-mapping> <mime-mapping> <extension>xhtml</extension> <mime-type>application/xhtml+xml</mime-type> </mime-mapping> </web-app> [/code] (for JSF) Bu işlem için ilgili sunucuda Name :javax~faces~2.2.8 Vendor :local.j2ee Version :1 Software Type :library özelliklerine sahip bir kaynak bulunması gerekiyor. MyApplicationNameEAR-> EarContent-> META-INF-> application-j2ee-engine.xml-> [code language=”xml”] <application-j2ee-engine …> … <!– for JSF operations –> <reference reference-type="hard" prepend="true"> <reference-target provider-name="local.j2ee" target-type="library">javax~faces~2.2.8</reference-target> </reference> </application-j2ee-engine> [/code] (for JSF) MyApplicationName-> Web Content-> WEB-INF-> faces-config.xml-> [code language=”xml”] <?xml version="1.0" encoding="UTF-8"?> <faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" version="2.0"> </faces-config> [/code] (for SAP-Specific Web Module) MyApplicationNameEAR-> EarContent-> META-INF-> application-j2ee-engine.xml-> [code language=”xml”] <application-j2ee-engine …> … <!– for KM operations –> <reference reference-type="weak"> <reference-target target-type="application" provider-name="sap.com">com.sap.km.application </reference-target> </reference> </application-j2ee-engine> [/code] NWDS 7.3 SAP sistem sunucusu eklemek için buraya bakabilirsiniz. NWDS 7.3 proje deploy için buraya bakabilirsiniz.]]>

Leave a Reply

Your email address will not be published. Required fields are marked *