Friday, April 4, 2014

WebSphere ILOG JRules V7.0 > Quick Start tutorial PREVIOUS NEXT Welcome to the Quick Start tutorial

http://pic.dhe.ibm.com/infocenter/brjrules/v7r0/index.jsp?topic=%2Filog.rules.jrules.doc%2FContent%2FBusiness_Rules%2FDocumentation%2F_pubskel%2FJRules%2Fps_JRules_Global244.html

Simplify developying decision services in Ilog jrules

Ilog Jrules define decision service as a ordinary web service with management capabilities using JMX MBeans. Through protocol SOAP, it's easy to invoke business rules rather than any other protocol like rmi. More information about decision services should find here. From the view of ilog jrules, there are two types of decision services: 1) Hosted transparent decision services 2) Monitored transparent decision services All of them drives rule execution and enables users to access Rule Execution Server through a Web service, rather than accessing it directly. Hosted transparent decision services: Using a hosted transparent decision service, Rule Execution Server automatically exposes any deployed rule set as web services, that uses an XML schema or a Java XOM with simple types. The decision service automatically generates Web Services Description Language (WSDL) file for each deployed ruleset archive and the decision service MBean is able to retrieve execution statistics. These rulesets can be exposed as a Web service without passing through code deployment. The hosted transparent decision service supports all primitive java type automatically. To use hosted transparent decision service, you should deploy transparent decision service archive in the same server where installed RES. Now installed business rules with simple data type in RES will automatically exposes as web services. You can access wsdl from the rule set view of the installed business rules. Whenever user click the link to get wsdl, component transparent decision service automatically generate the web service and a new decision service will found in the navigator. If rule set contains custom java data types, the xom of the rule set must append to the jrules-bres-ootbds-JBOSS40.ear->jrules-bres-ootbds-JBOSS40.war\WEB-INF\lib directory and redeploy. Through WSDL it's simple to create java proxy class to test the decision service. Most of the time, i use Xml spy editor to test soap service quickly. XML spy editor has options to create soap request and send it to the server. Monitored transparent decision services: Unlike a hosted transparent decision service, a monitored transparent decision service manages rulesets that use an XML schema or any Java XOM with simple types. XML parameters are represented by a String in the WSDL file. Using the Client Project for RuleApps wizard, you can create the following projects: 1) A monitored transparent decision service project from your RuleApp project. The code generator generates two projects: the decision (or Web) service project, and the client project, which can be used to test the code generated in the decision service project. After the ruleset has been executed by this client, the transparent decision service can be monitored by the Rule Execution Server Console. Note that client generated by wizard is not well generating most of all time, it's better to generate client from the wsdl manually. 2) A Web service project from your rule project. The code generator generates a client project that can be used to test the code generated in the Web service project. This project cannot be detected by the Rule Execution Server management model, so the Rule Execution Server Console does not monitor rulesets executed by the client provided, or any other client. Monitored transparent decision services created by RuleApps wizard execute rule set archive locally. Actually they never invoke rule set deployed in RES. So there will no execution statistics for the rule set will found in RES. Generated decision services implements JAX-WS and only support jboss and tomcat. Another effective way to invoke business rules are creating a web service as client to call business rules through J2EE provider. Here web service is the mediator of the business rules and client, web service encapsulate all the boilerplate code to call business rules in RES.

Wednesday, April 2, 2014

WODM 8.5 ILOG JRules Interview Training Questions Certification

ILOG JRules is a Business Rule Management System (BRMS) that allows both business and IT users to manage the rules that drive business. ILog Jrules is a BRMS Software package which is now acquired by IBM. It is a widely used tool in BRM Space and has many attractive features which are suitable to the need of enterprise applications. The latest version of ILOG JRules is 7.0. ILOG JRules has following components: 1).Rule Studio 2).Rule Team Server 3).Rule Execution Server 4).Rule Scenario Manager Above are the major components or products which comes with the ILOG JRules product. JRules is basically a Java based system. ILOG Also has a version for .net which also supports the same features like ILOG JRules support.As companies rely more and more on information technology (IT) to manage their business, IT departments need to develop more complex applications and simultaneously accommodate an increasing rate of change in the applications they support. Often, the implementation of the company's business policy within these applications becomes too complex, voluminous, and fast changing for a traditional software architecture. When this happens, an enterprise Business Rule Management System (BRMS) provides solutions to make this management more efficient, both for developers and for the business users of the applications. With a BRMS, developers and architects can extract the business logic from the traditional code of an application. When business policies are hard-coded into an enterprise application, the process of updating the system requires specialist programming staff, puts the stability of the system at risk, and can take a long time. By externalizing the business logic from a business application with business rules, IT users can develop and run the business logic independently of the application. Below are some of the ILOG JRules interview questions: 1). What is BRMS ? 2). How ILOG JRules suppport the concept of BRMS? 3). What is an object model? 4).What is a Rule Team server? 5). Which platform is used by business users to edit the rules? 6).Which platform is used by technical users to write/create the rules? 7). What is Vocabulary? 8). What is a rule execution server? 9). What is the purpose of a Decision Table and BAL? 10). What are technical rules? Question -- What are the naming conventions for rule artifacts? Answer -- As a rule author, you are allowed to use spaces within rule artifact names and to use digits at the beginning of rule names. You are not allowed to use spaces at the beginning of rule names. The name you create is the Business Name. For the rule to become executable, this name must be translated into a Technical Name. That translation uses JRules IRL code. IRL code is the runtime code that is automatically generated from rule project artifacts. IRL code follows the same syntax as the syntax used for Java identifiers. Therefore, any character that is not allowed in a Java identifier must be processed for the rule name to become valid. The substitutions currently performed to generate a technical name are: A space is replaced by an underscore character: _ $ is replaced by $$ _ is replaced by $_$ A leading digit is replaced by $$ For rule tasks, a "ruleflowName#" prefix is added to the rule name to prevent name conflicts when two rule tasks have the same names. Note: To retrieve the rule business name from its technical name, use the method IlrNameUtil.getBusinessIdentifier(String identifier).

Saturday, March 29, 2014

PERM A* number:

PERM A* number: Of course everyone is interested when the DOL will look through their case. But nobody gives you such information, you can't be even sure, when your case was submitted (unless your attorney tells you). But every case submitted to the DOL through iCert system gets its own unique number. It's usually granted when a draft of the application is created in the system by your attorney. It could be done in advance, but generally the draft is created about 2-3 days prior to the case submission. Each number consists of the letter "A" and two groups of digits. For example #A-12001-XXXXXX. "A" means that it's a perm application case. Five digital part consists of a two-digit number for the year of the application coming first (12 stands for 2012), followed by a three-digit number meaning the exact day of the year. For example 001 stands for the January 1st, 058 - February 27th and so on, finishing with 366 for December 31st for a leap year. This is the date when the draft was created in the system (but not the date when the application was sent). "XXXXXX" is a unique digital combination for each of this days (this information is not proved by any facts, it's not known if this part of the number means anything specific). It is possible to tell which group of cases is considered by the DOL at a given moment of time based on the analysis of the cases already reviewed. So if a group of cases with number «A-13100-XXXXXX» was examined during the last week and yours is «A-13101-XXXXXX» you may hope to get the DOL decision soon. But there are no guarantees, cause your case can be set aside for a while or, on the contrary, be reviewed ahead of your “group” with no obvious reason.

Monday, December 2, 2013

H-4 Work Authorization – Rule Making in Jan!

Employment Authorization for Certain H-4 Dependent Spouses has been a topic of discussion at the Senate for years. The Federal Rule Making Agenda mentions the proposed rule for H-4 EAD would complete by January 2014. This would allow many spouses living in the united states to start working and have their dreams fulfilled. H-4 EAD Abstract: The Department of Homeland Security (DHS) proposes to amend its regulations by extending the availability of employment authorization to certain H-4 dependent spouses of principal H-1B nonimmigrants who have begun the process of seeking lawful permanent resident status through employment. Allowing the eligible class of H-4 dependent spouses to work encourages professionals with high demand skills to remain in the country and help spur the innovation and growth of U.S. companies Further Steps Completion of Proposed Rule Initiation, approval, completion of Interim Finale Rule. It looks like we are close to finishing the first step by the end of January 2014.

Tuesday, October 1, 2013

Apache Tomcat Not Showing in Eclipse Server Runtime Environments

I have tomcat 5.5 installed, running and verifiable at http://localhost:8080/. The Tomcat menu option appears in the Eclipse menu bar and I can start and stop Tomcat from there. In Eclipse, it does not show as a Server Runtime Environment in Window - Preferences - Server - Runtime Environments, nor does it appear in the list of environments that can be added when I click the "Add" button. All I see is the J2EE Runtime Library In my case I needed to install "JST Server Adapters". I am running Eclipse 3.6 Helios RCP Edition. Here are the steps I followed: Help -> Install New Software Choose "Helios - http://download.eclipse.org/releases/helios" site Expand "Web, XML, and Java EE Development" Check JST Server Adapters (version 3.2.2) After that I could define new Server Runtime Environments. EDIT: With Eclipse 3.7 Indigo Classic, the steps are the same but you need both JST Server Adapters and JST Server Adapters Extentions to get the Server Runtime Environment options. Also works with Eclipse 4.2 M6. Don't forget to install the "JST Server Adapters Extenstion"

Saturday, September 7, 2013

How Negative Energy Affects Your Life and How to Clear It Read more at: http://www.social-consciousness.com/2013/09/how-negative-energy-affects-your-life-and-how-to-clear-it.html

http://www.social-consciousness.com/2013/09/how-negative-energy-affects-your-life-and-how-to-clear-it.html You know that like attracts like, right? So here's the deal: Positive people are drawn to positive energy; negative people are drawn to negative energy. We tend to perceive negative energy as something other people have. Sure, sometimes we feel negative – as in, “go away and leave me alone, world!” but did you know that negativity can be so ingrained in you that it goes unnoticed? That's because negativity sometimes wears a disguise called ‘reality'. It's easy to rationalize that you're ‘just being realistic' in not daring to act on a dream – and believe it! You may assume that positive people are not being realistic – that they're being naive, that they are in denial with their heads stuck in the sand, that they put on fake smiles in the face of difficulty and so forth. But are they really happy idiots or is there something to their positivity? Consider this: since when does ‘being realistic' necessarily mean that things will go wrong and that you have to accept that as the truth? That doesn't mean that being realistic is automatically negative. When you view the world from a ‘realistic' standpoint, you can't help but be negative IF your version of reality is negative. If your version of reality is negative, you are conditioned to believe that whatever can go wrong, will go wrong and whatever can go right, will probably go wrong too. Your unconsciously held beliefs make you into a negative person without your being aware of it! So – if this negativity is so ingrained in you that you don't notice it, how do you determine whether you're stuck in a cloud of negative energy that is attracting the wrong people, wrong situations and wrong feelings? And how can you be sure you're not perpetuating that negativity? Here's a quick quiz to gauge the level of negative energy within you: - Do you complain? All the time or just sometimes? - Do you often discuss what's wrong in the world more than what's right? This includes the ‘terrible' weather, ‘horrible' traffic, ‘idiotic' government, ‘lousy' economy, ‘stupid' in-laws, etc. - Do you criticize? All the time or just certain people? - Are you attracted to drama and disaster (can you unglue yourself from the TV when there's a news story of a disaster and can you avoid getting involved in the lives of dysfunctional celebrities?) - Do you blame? All the time or just certain situations? - Do you believe that you have no control over most of your results? - Do you feel like a victim? Do you talk about people doing things to you? - Are you grateful for what is or will you be grateful when things finally start going right for you? - Do you feel like things are happening to you? Or do you feel that they are happening through you? These last two points are important: If you're not grateful except when things go right, you are negative. Gratitude is positive. If you are grateful for what is (including the unpleasant school of life lessons, then you can invite more and more positive energy into your life. Believing that things happen to you puts you in the role of victim; then it's easy to be negative because it's convenient to give up that power. So consider this alternative: who or what is to blame when GOOD things happen to you? Do you acknowledge that you are responsible for the good things – as in, you worked hard, you earned it, etc… but blame external events or other people for your failures? So how come, when good things happen, they are a result of what you do, but when bad things happen, they are not your fault? Nobody likes to hear that. It takes courage to accept that you create your life experience! If you answered yes to any of the above questions, you are holding on to negative energy to some degree! To clear your negative energy and raise your vibration, you will need to retrain yourself to choose a positive attitude. Here's another interesting idea to consider: have you noticed that positive people seem to get what they want out of life, and even if things don't go their way, they still enjoy their lives… while negative people whine and moan about their misfortunes and even the good things in their lives? To clear negative energy, try this 3 -step process: 1. Take ownership: “When you think everything is someone else's fault, you will suffer a lot. When you realize that everything springs only from yourself, you will learn both peace and joy.” – the Dalai Lama 2. Cancel negative thoughts and replace them with positive thoughts. This takes practice, dedication and making a decision to see the world through the eyes of “what can go right” instead of “what can go wrong.” You'll have to catch yourself anytime you are acting out or speaking out your negativity, and immediately change your tune. 3. Use the Love or Above Spiritual Toolkit to clear your energy and bring more light and love into your life; visualize the positive instead of getting sucked into negativity; overcome past conditioning; think intuitively from the soul instead from ‘reality'; create a new, desired reality in your imagination and manifest it in the outer world. Nobody wants negative energy to permeate their lives, yet many of us allow it. But we allow it unconsciously, based on past conditioning that suggests an inevitable outcome to certain situations. When you overcome that conditioning and realize that the future is NOT cast in stone but that you have more control over your circumstances than you believe – then you can begin to consciously design your life. What's going to happen then? Your positive energy will magnetically attract what you consider to be good and right for you: people, situations, things… and you'll notice a huge, huge increase in your happiness and inner peace. Why not choose positive energy? Make some changes within, and you'll quickly see positive changes in your life. Enjoy the good feelings and abundance! Source: LoveorAbove Related Posts Mind over Matter: Secrets of Human Aura. Mind-Matter Interaction Princeton Research Dr. Bruce Lipton: The Biology of Belief - Where Mind and Matter Meet Dr. Wayne Dyer & Dr. Bruce Lipton - Power of the Mind Gregg Braden - 20 Keys of Conscious Creation Positive Thoughts, Affirmations Shown to Boost Overall Health in New Research The Intelligent Heart - Institute of HeartMath Read more at: http://www.social-consciousness.com/2013/09/how-negative-energy-affects-your-life-and-how-to-clear-it.html