Posts

Showing posts from January, 2011

Introduction To Task Flows

Image
فى بدايتنا مع ال jsf  لما كنا بنعمل plan  للمشروع بتاعنا كان شغلنا بيبقى عبارة عن pages  و بينها flows  و كان كل ما نحتاج function  جديدة او متطلب جديد كنا بنعمله page  و نربط الصفحة دى ب flow  و ن control ال flow دة من خلال managed-bean  او حتى backing-bean  طيب تخيل معايا لو الموضوع كبر مننا و لقينا نفسنا بعد سنتين بقى عندنا 25 او 30 صفحة على اقل تقدير تخيل منظر ال flows و ال pages  هيبقى عامل ازاى تخيل ال maintenance  هيبقى ازاى طبعا الموضوع هيكون صعب جدا طيب اية الحل؟ لو روحنا لل system analyst  و قولناله الحقنا دورلنا على حل اكيد اول حاجة هيقولهانا " قسمو شغلكم ل modules"  و هو دة الحل فعلا بس نطبقه ازاى؟ هنا تيجى اوراكل و تقدملنا حل الحل فى ال task flows ال task flows  هو انك تفكر باسلوب المديولات .  هو انك تقسم شغلك لمديولات .  مجموعه الصفحات دى اللى ليها علاقة بالمبيعات فى مدويول المبيعات و مجموعه الصفحات دى اللى ليها علاقة بالمخازن فى مديول المخازن مثلا اقرا معايا ال paragraph  اللى جاى دة من كتاب Oracle fusion ware developer guide ADF task flows provide a modular

Installing developer 6i on window 7

اكيد فى ناس لسة شغال 6i و طبعا قابلو مشكلة انهم يشتغلو على ويندوز 7 الحل ان فى ملفين dll فى الفولدر bin هما اللى عاميلن المشكلة دى شوف الخظات التالية Installing Oracle Developer (forms & reports 6i) on Windows 7 64bit Oracle developer 6i (forms & reports) Installation tips. Including me, many of you out there must be still using the developer 6i and getting this stuff work under Windows 7 64bit environment could be quite tricky. Run the installer normally (without changing the compatibility mode) and finish the installation for both forms and reports. Go to this  link  and download the files suggested. Now go to your developer installation folder, browse to BIN directory and make backups for these files NN60.DLL NNB60.DLL Now copy the extracted files from the downloads you already have, to \BIN directory. This should deal with forms developer not responding to the “Run” button click or ‘Ctrl+R’ shortcut key. Hope this post is useful Oracle developers.

ADF chapter 3 summary

Getting Started The important  notes are: Generic VS strong typed API: generic is to use only one method that accepts column name as string strongly typed is to use getter method for the attribute or column name Example Row row = ordersVO.getCurrentRow(); Date shippedDate = (Date)row.getAttribute("OrderShippedDate"); OrdersRow row = (OrdersRow)ordersVO.getCurrentRow(); Date shippedDate = row.getOrderShippedDate(); 2. interfaces accessible for the client: 1- Application Module 2- View objects, representing the query components 3-View rows, representing each row in a given query component's results 3-Custom Client Interfaces for Components you can create your own custom interface that contains your custom business services required to be exposed to some clients. so, you can create your java class that extends the super interface . for example StoreServiceAM extends ApplicationModule :  Custom application module interface OrderItemsInfo extends ViewObj