Posts

Useful links

1- how to make dynamic credential http://www.oracle.com/technetwork/developer-tools/jdev/dynamicjdbchowto-101755.html 2- lynn blog http://radalcove.com/blog/ 3- some handy backing bean http://biemond.blogspot.com/2009/03/some-handy-code-for-backing-beans-adf.html

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  اللى جاى دة من ك...

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 develop...

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...

report server,forms,OC4J_BI_Forms starts and stops automatically

1- open the file  opmn.xml  located in application server home/midtier/opmn/conf and edit it as follow Go to the process-type tag with id="OC4J_BI_FORMS" module-id="OC4J". Under this process-type tag, go to the category tag with the id="urlping-parameters". Replace the line with: Then, under the line add:   2- edit the file  rwnetwork.conf located in reports/conf comment the first line multicast channel="228.5.6.7 ... and un comment the second line namingService name="Cos" example      

Exception creating EntityManagerFactory

Exception creating EntityManagerFactory This error in jdeveloper occurs when you build your ejb module on views not table the problem is that the @id annotation is not added to the code generated by jdeveloper. In addition to that , the java.sel.Timestamp is used insted of java.util.Date. moreover that, the wizard that generates the code does not generate  @Temporal annotation. To solve this problem, do the following: Do  not  use Java fields of type  java.sql.Date !  java.util.Date  or  java.util.Calendar  instead. add annotation @id before primary key column add annotation  @Temporal before every Date attribute

My journey with Java

الحمد لله و بعدرحلة طويلة من المحاولات فى ال j2ee  و ال self study  المرير بدأنا كورس ال j2ee بصرحاة انا كنت عاوز البداية من الويب لكن مديرى و زمايلى اصرو انهم يبداو  أ ب جافا من الاول خالص انا قولت اكيد خير علشان هراجع اللى اتعلمته قبل كدة فى ال j2se  اصلى اخدت الكورس دة قبل كدة مرتين