Showing posts with label #ADF. Show all posts
Showing posts with label #ADF. Show all posts

2017-12-12

Download Oracle ADF Samples- more than 100 sample


دورت كتير علي أمثله محلولة ل #Oracle_ADF اكيد كلنا دورنا و تعبنا عشان نلاقي ولو مثال واحد كامل
انا انهارده جايبلك كتاب كامل من A-Z في ال ADF ومحلوله كاملة
Oracle #ADF Facesbook 
عن تجربة غاية في الروعة

كل ما عليك هو تحميل الكتاب من هنا فقط اضغط هنا

2016-08-01

Oracle ADF Interview Questions and Answers/Tips - Part1

Oracle ADF Interview Questions and Answers/Tips



Here are a set of Interview Question and Answers/Tips for Oracle ADF :
Q : What is Oracle ADF?
A : Oracle ADF is an commercial java/j2ee framework, which is used to build enterprise applications.
It is one of the most comprehensive and advanced framework in market for J2EE
Q : What are the advantages of using ADF?
A : Following are the advantages of using :
  • It supports Rapid Application Development.
  • It is based on MVC architecture
  • Declarative Approach (XML Driven)
  • Secure
  • Reduces maintenance cost and time
  • SOA Enabled
Q : What are various components in ADF?
A : Oracle ADF has following components
  • ADF Business Components(Model)
  • ADF Faces (View)
  • ADF Taskflows(Controller)
Q : What is the return type of Service Methods?
A : Service Methods can return Scalar or Primitive Data types.
Q : Can Service Methods return type Void?
A : Yes, Service Methods can Return type Void
Q : Can Service Methods return Complex Data types?
A : No, service methods can return only primitive/scalar data types.
Q : Which component in ADF BC manages transaction ?
A : Application Module, manages transaction.
Q : Can an entity object be based on two Database Objects(tables/views) or two Webservices ?
A : No entity objects will always have one to one relationship with a database object or web service.
Q : Where is that we write business rules/validations in ADF and why?
A : We should be writing validations at Entity Object level, because they provide highest degree of reuse.
Q : What is Managed Bean?
A : Managed bean is a java class, which is initialized by JSF framework. It is primarily used to hold view and controller logic. It is also used to execute java code to be executed on a user action like Button Click.
Q : What are Backing Bean?
A : Backing beans are those managed beans which have 1:1 mapping with a page. They have getters and setters
for all the components in the related page.
Q : What is difference between managed and backing beans?
A : Backing bean has 1:1 relation with page whereas managed beans can be used in multiple pages.
Backing beans scope is limited to the page whereas managed beans can have other scopes too.
Q : What is a Taskflow?
A : Taskflow is the controller of an ADF application, it provides us an declarative approach to define the control flow.  It is used to define the navigation between pages and various taskflow activites.
Q : What are the different types/categories of Taskflows ?
A :  Taskflows are of two categories : Bounded and UnBounded.
Q : What is the difference between Bounded and UnBounded taskflows?
A : Differences between Bounded and UnBounded taskflows :
  • Bounded taskflows can be secured but Unbounded can’t.
  • Bounded taskflows can accept parameter and return values but unbounded taskflows don’t support parameters
  • Bounded taskflows has a single entry point or a default activity but unbounded taskflows have multiple entry points.
  • Bounded taskflows can be called from other bounded/unbounded taskflows but unbounded cannot be called or reused.
  • Bounded taskflows support transactions unbounded don’t
Q : What are the various access scopes supported by ADF?
A : ADF Faces supports the following scopes
  • Application Scope
  • Session Scope
  • PageFlow Scope
  • Request Scope
  • BackingBean Scope.
Q : Describe life cycle of a ADF Page?
A : ADF page is an extension of JSF and has following phases in its lifecycle
  1. Initialize Context: In this phase the adf page initializes the LifecycleContext with information that will be used during the Lifecycle.
  2. Prepare Model:  In this phase ui model is prepared and initialized. In this phase page parameters are set and methods in the executable section of the page definition of the ADF page are executed.
  3. Apply Input Values: This phase handles the request parameters. The values from the HTML are sent to the server  and applied to the page binding in page definitions.
  4. Validate Input Values:  This phase validates the values that were built in the Apply input values phase
  5. Update Model:  Validated values supplied from user are sent to ADF business components data model
  6. Validate Model Updates:  In this phase the business components will validate user supplied values.
  7. Invoke Application:  This phase will process the ui events stack built during the life cycle of page and also fire navigational events
  8. Prepare Render:  This is the final phase where HTML code is generated from the view tree.

2016-07-31

Top Ten Useful Java Frameworks From Web

Top Ten Useful Java Frameworks From Web 


At First What is Java Web Framework?

A Java web application framework is a software framework which specially designed to support the development of dynamic websites, Web applications and Web services by using java platform.

Basically framework use for create structure in developing applications by providing reusable classes and functions which can reduce development time significantly.


Now , We will introduce the Top 10 #Java Frameworks

  1. Dojo Toolkit

Dojo Toolkit is an open source java framework that specially designed to solve some long-standing historical problems with DHTML which prevented mass adoption of dynamic web application development. it allow you to easily build dynamic capabilities into web pages and any other environment that supports JavaScript also. You can use the components that Dojo provides to make your web sites more usable, responsive, and functional. With Dojo Toolkit you can build degradable user interfaces more easily, prototype interactive widgets quickly, and animate transitions. to download it follow this link  DOJO TOOLOKIT 




2-Apache Struts 

Apache Struts 2 is an enterprise-ready Java web framework that specially designed to streamline the full development cycle, from building, to deploying, maintaining applications over time. It’s an easy to use and easy to startup. Apache Struts 2 was previously known as WebWork 2. The WebWork and Struts communities joined forces to create Struts. Struts 2 comes with an improved design with clean code for HTTP-independent framework interfaces. Added interactivity and flexibility with AJAX tags gives the look and feel just like standard Struts tags. It doesn’t use Action forms, instead Struts 2 uses JavaBean to capture form input or put properties directly on an Action class.Use both binary and String properties. Customize your tag mark-up by editing a Free Marker template. No need to grok the taglib API! JSP, FreeMarker, and Velocity tags are fully supported.


to see more follow this link Apache Struts  



 3- jMaki


jMaki is an lightweight client/server side Ajax framework that allow developers to use JavaScript in their Java based applications as either a JSP tag library or a JSF component.It’sJavaScript Wrapper Framework for the Java platform. 

 TO SEE MORE FOLLOW THIS LINK  JMAKI


4- AjaxAnywhere – Ajax without javascript coding


AjaxAnywhere is designed to turn any set of existing JSP or JSF components into AJAX-aware components without complex JavaScript coding. It is not component-oriented, the page needing to be separated into different zones, where AJAX will be applied.Simply separate your web page into multiple zones, and use AjaxAnywhere to refresh only those zones that needs to be updated. 



5- Apache Tapestry – object oriented java frameworks

Apache Tapestry is an object oriented, open-source java framework for creating dynamic, robust, highly scalable web applications in Java. In Tapestry, you create your own application in terms of objects, and the methods and properties of those objects – and specifically not in terms of URLs and query parameters. Tapestry brings true object oriented development to Java web applications.


6-DWR java library


DWR is a open source java library that allow you to write Ajax web sites. It’s a Easy Ajax for Java. It allow you to code in a browser to use Java functions running on a web server just as if it was in the browser. DWR works by dynamically generating JavaScript based on Java classes.It canmarshal virtually any data including collections, POJOs, XML and binary data like images and PDF files. All that is required is a security policy that defines what is allowed. DWR provides integration with Dojo, TIBCO GI, Scriptaculous in the browser, and with Spring, Struts, Guice, Hibernate and others on the server.



7-Echo web framework


Echo is a next-generation open source framework for developing rich web applications. From the developer’s Point of you, Echo behaves as a user interface toolkit–like Swing or Eclipse SWT. AJAX technology is employed to deliver a user experience to web clients that approaches that of desktop-based applications.


8-Sigma Visual Ajax GUI Builder



Sigma Visual Ajax GUI Builder is a web based tool for AJAX RIA application UI rapid design and involved scripts programming. With this powerful builder, developers can develop there web application just like what you do in VB or Delphi.



9-SweetDEV RIA



SweetDEV RIA is a complete set of world-class Ajax tags in Java/J2EE. It helps you to design Rich GUI in a thin client.It provide you Out-Of-The-Box Ajax components. Continue to develop your application with frameworks like Struts. SweetDEV RIA tags can be easily plugged into your JSP pages.



10-xWire Framework – Enterprise-ready java toolkit

xWire Framework is a object oriented, enterprise-ready java toolkit. It used to build Java web applications, but is flexible enough for other uses. It is ideal for building AJAX apps and consists of both client and server components, each of which can be used independently of the other.


FOR MORE INFO CONTACT ME ON 
LINKEDIN -  Mahmoud Elasry
FACEBOOK - Programmer Elasry
Gmail - mahmoudelasry2013@gmail.com