احمد الجابري بتاريخ: 21 سبتمبر 2007 تقديم بلاغ مشاركة بتاريخ: 21 سبتمبر 2007 اتوقع أن مفهوم الPersistence كان العقبة الأكبر في تعلم الناس للجي دفلوبر بشكل عاموللADF بشكل خاص .فماهو الPersistenceاذا كنت مبرمج بأحد لغات الNET. او PHP او PL/SQL او حتى جافا فيلزمك اعادة صياغة فهمكلتطبيقات قواعد البيانات .باختصار ال Persistence هو التعامل مع قواعد البيانات بالاضافة والتعديل والحذف بدون استخدام SQLيعني تضيف بدون Insert وتعدل بدون Update و تحذف بدون جملة Deleteالان فيه سؤالين هيطفو للسطح .. الأول إزاي ؟؟ والثاني طيب ليه .. ماحنا كويسين مع الSQL ؟؟وللجواب بنقول خلونا نتفلسف شويه .طبعاً انتم عارفين ان لغة جافا هي لغة Object Oriented وكمان لغات الدوت نت يعني كلها كلاسات و ميثودبالاضافة الى خصائص الOOP الاخرى مثل التوريث و الكبسلة .اما قواعد البيانات فهي انظمة علائقية Relational تعتمد على الConstraints .ستتضح الصورة بعد قليل مع هذا المثال :تخيل ان لديك جدولين Employee و Department وكمان عندنا كلاسين هما Department و Employeeخلينا بس نركز على الDepartmentاذا شفنا الموضوع من ناحية قواعد البيانات هنلاقي إن جدول الأقسام يتكون من الحقول التاليةDeptID من نوع رقمDeptName من نوع نصو جدول الموضفين هيكونEmpID من نوع رقمEmpName من نوع نصEmpDeptID عشان نربط الموظف بقسمه .لحد الان مافيش مشاكل .لكن لو فكرنا في نفس الموضوع من وجهة نظر مبرمج الOOP يعني بتاع الObject Orientedبنلاقي عنده كلاسين .. كلاس الأقسام وكلاس الموظفين .كلاس القسم فيه :DeptID من نوع رقمDeptName من نوع نصEmployee من نوع مجموعة من الاوبجكتات تشير إلى الكلاس Employee فهمتو ؟؟يعني داخل الكلاس بتاع القسم فيه حقل يشير الى جميع الموظفين الخاصين بذلك القسم مربوطين بواسطة مؤشروليس عن طريق Constraint كما في طريقة قواعد البيانات .كمان للتوضيح ..لو انا شغال على قواعد البيانات وعاوز اعرف جميع الموظفين التابعين لقسم معين ..طبعاً هفترض ان عندي في جدول الموظفين حقل اسمه EmpDeptID فيه رقم القسم اللي الموظف تابع ليه .وبكده اقدر اقول Select * from Employee where EmpDeptID = 3 مثلاً يعني .لكن في حالة الكلاسات الوضع اختلف وصار اكثر فاعلية يعني ممكن اوصل للموظفين بطريقة اسرعDepartment(3).Employee()فتلاحظ انه فيه اختلاف بين الرؤية بين منظور قاعدة البيانات و منظور لغات الObject Orientedهذا الاختلاف بيسمونه impedance mismatchنرجع للTopLink التوبلنك هنا جايه عشان تحل الموضوع وللامانة مش هي فقط لان عندك خيارات كثيرةعندك EJB3.0 Entity و عندك Hibernate و عندك JDO وهما اشهرها لكن باقي كثير .وفيه من مايكروسوفت كما ذكرت في موضوع سابق عندك ال LINQ اللي جاي مع الدوت نت 3الفكرة في الكل انك تعمل محاكاة للجدول اللي في قاعدة بيانات و تتعامل معه على انه POJOبوجو مش بوزو المهرج طبعاً ..بوجو يعني كلاس بسيط جدا فيه Attributes مثل EmpID و EmpName وفيه Accessorsيعني ميثود لادارة هذه الAttributes يعني بيكون فيه set و get لكل Attributeو بعدها ننسى بشكل تماماً قاعدة البيانات و جداولها و نتعامل مع هذا البوجو كلاس ..فإذا أنشأنا منه Object يبقى كأننا انشأنا سجل جديد في الجدولواذا عدلنا قيم الAttributes فيه فكأننا عدلنا في الجدول عن طريق Updateواذا عملنا له remove فكأننا عملنا له Delete وهكذا ..كذا بيكون برنامجك نظيف جدا .. يعني بدون زحمة الSQL Statement وفوق كده ممكن تغير قاعدة بيانات في ثواني .. يعني تنقلها من اوراكل الى SQL Server مثلاً او حتى الى MySQLبدون ماتغير سطر واحد في الكود .هذا باختصار هو ال Persistenceموفقين . 3 اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Xavier بتاريخ: 21 سبتمبر 2007 تقديم بلاغ مشاركة بتاريخ: 21 سبتمبر 2007 السلام عليكمشكراً اخي احمد على هذه المقالهحلوه كبسله ، الله يوفقك ويعينك اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
احمد الجابري بتاريخ: 21 سبتمبر 2007 كاتب الموضوع تقديم بلاغ مشاركة بتاريخ: 21 سبتمبر 2007 هلا والله براعي الاتصالات و مبروك عليك الشهر .المهم خلك حولي . اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
damdam بتاريخ: 10 أكتوبر 2007 تقديم بلاغ مشاركة بتاريخ: 10 أكتوبر 2007 ما شاء الله رائع اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
جلال شواقفه بتاريخ: 18 أكتوبر 2007 تقديم بلاغ مشاركة بتاريخ: 18 أكتوبر 2007 شكرا جزيلا لكومجهود رائع اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
sakr_orcl بتاريخ: 18 أكتوبر 2007 تقديم بلاغ مشاركة بتاريخ: 18 أكتوبر 2007 جزاك الله خيرا وكل عام وانتم بخير اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
xizoaziz بتاريخ: 25 أكتوبر 2007 تقديم بلاغ مشاركة بتاريخ: 25 أكتوبر 2007 ما شاء الله اللهم اجزه عنا خير الجزاء اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
ibrahim mohamed بتاريخ: 8 نوفمبر 2007 تقديم بلاغ مشاركة بتاريخ: 8 نوفمبر 2007 جزاك الله خيرا كثيرااا اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Eng.HaZem بتاريخ: 18 سبتمبر 2010 تقديم بلاغ مشاركة بتاريخ: 18 سبتمبر 2010 شغل جبار .. يسلموو اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
mahmoud mostafa mostafa بتاريخ: 5 مايو 2013 تقديم بلاغ مشاركة بتاريخ: 5 مايو 2013 فين الباقى اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Abdelrahman.awad بتاريخ: 14 مايو 2013 تقديم بلاغ مشاركة بتاريخ: 14 مايو 2013 جميل الشرح جدا في انتظار الباقي اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
scince بتاريخ: 2 أكتوبر 2013 تقديم بلاغ مشاركة بتاريخ: 2 أكتوبر 2013 شرح رائع ومرتب وواضح شكراً عليه بصراحة رجعتنا لايام الكلية بالذات مفهوم ال oop والتوريث Inheritance والكبسلة capsulation وغيرها من المفاهيم حفظك الله اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
يوسف كمال بتاريخ: 6 نوفمبر 2014 تقديم بلاغ مشاركة بتاريخ: 6 نوفمبر 2014 السلام عليكم شباب انا مقبل على دراسة SOA dev كنت عايز اعرف المحتوى بتاع الكورص دا حلو ولا لأ ولو مش كويس ايه اللي ممكن ادرسه وشكرا 1.Introduction to the Course and Course ContentsDescribe Service-Oriented Architecture (SOA) concepts Details about what to download and from where for SOA 11g InstallationTechnical and Business Benefits of SOA8 case studies shall be discussedDiscussion on market value and prerequisites 2.Service-Oriented Architecture ConceptsIdentify standards that enable SOA – WS, UDDI, SOAPReview Service Component Architecture (SCA)Describe Oracle SOA Suite 11g componentsPracticeInstall SOA Suite 11g and configure JDeveloperBasic Concepts and Weblogic Server 11g - Domains, Servers, HomesOverview Weblogic Domains and Managed Servers 3. Orchestrating Services with BPELDefine a composite applicationDescribe SOA Composite EditorExplain BPEL Components activities and partner Links 4. Synchronous and Asynchronous BPEL ProcessesOrchestrating Services with BPELWhat does synchronous meanWhat does asynchronous mean. What is WS-Addressing standardOverview of Partner Link. Why do we need myRole-Partnerrole conceptPracticeCreate a synchronous processCreate an asynchronous processUsing soapUI for calling and testing web servicesCreating a service bottom up, containing two portTypesCreating a service top down, containing two portTypesCreating a service top down, containing two operationsPracticeUnderstand BPEL designer (JDeveloper) and activitiesBPEL PM Designer Layout - the Integration PerspectiveApplications and Projects (Composites)Creating your first BPEL Process - HelloWorldXPath Expression BuilderDeploying the BPEL ProcessManaging Deployments/Un-Deployments with Enterprise Manager 11g5. Parallel processing and Conditional branchingCreation of Java Web service from scratch (using bottom up approach)PracticeCreate Web service utilizing Google Translation APICreate Web service utilizing Google Translation APIAdd multiple flows and conditions in processUsing Pick activity to start a composite using two different inputsUsing Pick activity to timeout an async callUsing Pick activity to handle multiple responses during an async callUsing onAlarm activity to raise alarms while waiting in a async callUsing While loop 6. Advanced BPEL ConceptsDescribe Exception Handling in Composite ApplicationsDescribe the Fault Management Framework and its limitations.Describe Compensation handling within a BPEL processDescribe Correlation conceptsUsing SensorsPracticeThrowing simple faults and faults with variableReturning faults to client by adding fault message to WSDLSending email on every remote fault using Fault Management Framework’s java actionUsing compensation handler. Best practices for fault handling 7.Human WorkflowDescribe Human Workflow Concepts, Features and ArchitectureDesign Human Tasks and ServicesInvoke a Human Task from a BPEL processPracticeSending an approval notificationCreating a new user in Weblogic 8.Business RulesExplain business rules conceptsDescribe the Oracle Business Rules architectureDescribe Oracle Rules EngineCreate a rules with the Jdeveloper Rules DesignerIntegrate a simple rule with a BPEL Process9.Embedding Java in BPEL processInvoking BPEL from JavaPracticeTest OBRUse Java embedding to set/get BPEL variables, for loggingCall an external Java class, call an EXE, set title of BPEL processUsing XML Façade 10.Introduction to Binding ComponentsDescribe the various binding components - Web service, HTTP, JCA, ADF, DirectDescribe adapter concepts and framework Describe Technology adapters: File, Database, JMS, etc Describe Applications Adapters Ebiz suite etcPracticeRead and write a file using file adapterHTTP BindingsUsing ADF Binding to call SOA Composite from standalone JavaUsing Direct Binding to call SOA Composite from standalone Java More Adapters ConceptsHeader variablesDynamic PartnerlinksExternalizing properties using End point propertiesPracticePoll for new rows in a table using DB adapterInsert data into JMS queue using JMS adapter. Download.List Files in a directory using File adapterUsing Dynamic PartnerlinksUsing Rejection Handlers to handle erring files while reading from adapter.Download.Making polling frequency variable for an adapter 11.Working with Mediator ComponentsExplain the Mediator component and its featuresDefine business events and the Event Delivery Network (EDN)Create and configure a Mediator service componentPracticeCreate Mediator routing rulesRaising EDN events from Enterprise ManagerRaising EDN events from PLSQLRaising EDN events from JavaRaising EDN events from SpringRaising EDN events from ADFRaising EDN events from ANT 12.Monitoring and managing SOA 11g DeploymentDescribe Deploy and Un-deploy SOA Composite applicationDescribe Management of SOA Composite application using the Enterprise ManagerDescribe Deployment using ANTDescribe Configuration Plans for deploying to different environment using single codebaseAdvanced TopicsTransactionsEmail Setup in UMSValidating input for a composite. DownloadAdding Preferences to a composite that allow change after deployment.DownloadPracticeDeploying applications having multiple composites using ANTUsing Config Plans for deploying to different environment using single codebaseSending Email using GMAIL as SMTP serverWhat happens when1. A inserts data in DB, then calls B synchronously, B creates its own transaction, B throws a error. 2. A inserts data in DB, then calls B synchronously, B creates its own transaction, B throws a rollback error. 3. A inserts data in DB, then calls B synchronously, B uses same transaction as A, B throws a error 4. A inserts data in DB, then calls B synchronously, B uses same transaction as A, B throws a rollback error 5. Insert into DB, then an unhandled error is thrown6. Insert into DB, then dehydrate, then unhandled exception7. Insert into DB, then select from same table. Do we see the insert8. What if in 6, we want that the transaction should still rollback, even if it has been committed due to dehydration9. Read JMS, insert into DB, DB fails10. Poll DB, throw error11. Invoke thru soap, insert into DB table 1, insert into db table 2, table 2 fails12. Invoke thru soap, insert into DB table 1, dehydrate, insert into db table 2, table 2 fails 13.Interview Questions and Project writeups for resumeInterview Technical QuestionsInterview Scenario QuestionsSample project rightups10 Project Ideas اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Recommended Posts
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.
Note: Your post will require moderator approval before it will be visible.