Filter
Filters are commands that are used to filter input or output. These commands by default takes input from keyboard and generates output to standard output where the default input and output can be redirected.
Among the most useful filter tools in UNIX System for finding words in files, include grep, fgrep, and egrep.
grep: It lets us search for a target which may be one or more words or patterns containing wildcards and other regular expression elements.
fgrep: Does not allow regular expressions but does allow us to search for multiple targets.
egrep: Takes a richer set of regular expressions, as well as allowing multiple target searches.
grep
The grep command searches through one or more files for lines containing a target and then prints all of the matching lines it finds.
$ grep room mtg_note
The meeting will be at 9:00 in room 1J303.
$
The following command displays all lines containing the word room.
Note: Multiline search should be enclosed within brackets otherwise grep will treat all others words as filename except the first one.
$ grep chicken *
recipes.ch: chicken with black bean sauce
Recipes.mex: chilaquiles with chicken
$
In the following command, the * replaces the current directory listing and grep looks for the word chicken in all the files. It prints the names of the files where it finds the said pattern.
- c Displays count of number of occurrences - l Displays list of filenames only - n Displays line numbers along with lines - v Displays all but lines matching expression - i Ignores case for matching - h Omits filename when handling multiple files - e exp Specifies expression with this option - N n Displays n lines containing pattern (SCO UnixWare only)
Tuesday, October 6, 2009
Friday, October 2, 2009
TIBCO Businessworks introduction
WHAT IS TIBCO BUSINESSWORKS
• TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop integration projects.
• TIBCO BusinessWorks includes a graphical user interface (GUI) for defining business processes and an engine that executes the process.
• TIBCO BusinessWorks also works with TIBCO Administrator, a web-based GUI for monitoring and managing run-time components
BusinessWorks Key Components
• TIBCO Designer
• TIBCO BusinessWorks engine
• TIBCO Runtime Agent (TRA)
• TIBCO Administrator Domain
TIBCO Designer
• The TIBCO Designer graphical user interface (GUI) supports adapter configuration, process design, deployment configuration, and deployment of the integration project in one easy to use interface..
TIBCO Designer Interface
• Main Window
• Project Panel
• Palette Panel
• Design Panel
• Configuration Panel
Project Panel
• A project contains resources that implement the enterprise integration. This includes services (producers and consumers of information), any business logic that may be applied to that information, and deployment information.
• The project panel allows you to view the Project Display Tab
With the Project tab selected, the project panel displays the project tree
Global Variables Display Global variables are associated with each project
Palette Panel
• Palettes organize resources and allow you to add them to your project. You select resources in the palette panel and drag and drop them into the design panel to add them to your project.
Design Panel
• The design panel displays the current resource selected in the project panel.
Configuration Panel
• The configuration panel allows you to specify various configuration options for each resource
• After you have added the configuration information, you must click the Apply button for each tab. If you decide you do not want to add the configuration information, click Reset before you apply any changes to return to the previous values for each field in the tab.
Overview of Processes
• A process definition is the graphical representation of your business process.
• You develop and test process definitions using TIBCO Designer.
• The process definition is executed by a TIBCO BusinessWorks process engine.
Process Definitions
• A process definition is a graphical representation of your business process model.
• You create process definitions by dragging and dropping a Process Definition resource from the Process palette to the design panel.
Process definitions components
• Activities
• Transitions
• Groups
• Shared Configuration Resources
Activities
• Activities are the individual units of work within a process definition
• Activities are available on the various palettes within TIBCO Designer.
• A process definition can begin with a Start activity, but some palettes contain activities that can start a process. These activities, also known as process starters
EX: FILE POLLAR Activity from FILE Palette
Transitions
• Transitions describe the flow of processing within a process definition.
• A transition is represented by an arrow between two activities.
• The arrows are unidirectional
• Control flow in a process definition must proceed sequentially beginning with the Start activity (or a process starter) and ending with the End activity.
• Transition can optionally specify a condition. The condition determines if the transition is taken when an activity completes processing. After an activity completes
• Each activity in a process definition must have a transition to it, or the activity is not executed when the process executes
Groups
•Groups are used to specify related sets of activities
•To create sets of activities that are to be repeated. You can repeat the activities once for each item in a list, until a condition is true, or if an error occurs
•To create sets of activities that participate in a transaction. Activities within the group that can take part in a transaction are processed together, or rolled back, depending upon whether the transaction commits or rolls back.
Shared Configuration Resources
•Shared configuration resources are specifications that are shared among activities.
•These are resources, such as database connections, WSDL files, schema definitions, and connections to other servers.
•Shared configuration resources are created outside of process definitions, but they are used when specifying the Configuration tab of some activities
Subprocesses
•Business processes are often very complex and it is difficult to diagram the complete process in one process definition. You can create several smaller process definitions instead of one monolithic process definition.
•You can then call each process definition from another process definition, when necessary. When you call a process definition, the called process is known as a subprocess
•Using subprocesses helps to make more readable process diagrams and you can reuse subprocesses across many process definitions
TIBCO BusinessWorks engine
• The TIBCO BusinessWorks engine runs the business processes in test mode and at runtime
• A process engine creates instances of process definitions. These process instances automate your business processes by executing the business process described by the process definition.
• Process engines are started using TIBCO Administrator after you deploy your project
TIBCO Runtime Agent (TRA)
• The TIBCO Runtime Agent (TRA) runs on each machine and executes scripts, sends alerts, and performs recovery as specified
• The TIBCO Run-time Agent (TRA) provides basic connectivity between the adapter and other TIBCO infrastructure tools.
• The TRA is required on any machine on which an adapter is installed.
• The TRA runs on each machine on which an adapter runs and executes scripts, sends alerts, and performs recovery as specified.
TRA FUNCTIONS
• Supplies an agent that runs in the background on each machine.
•The agent is responsible for starting and stopping processes that run on a machine according to the
deployment information.
•The agent monitors the machine. That information is then visible via the TIBCO Administrator GUI.
• Supplies the run-time environment, that is, all shared libraries including third-party libraries required by the adapter.
TIBCO Administrator
• Supports security administration as well as monitoring and management of
processes and machines.
• Consists of the TIBCO Administration Server and the web browser based TIBCO Administrator GUI.
TIBCO Administrator Modules
• User Management
• Resource Management
• Application Management
User Management
• This module allows you to set permissions for adapter users.
• You define authentication, users and groups, and assign access control lists to users.
• This includes security for server-based projects at design-time and for deployed applications at runtime.
Resource Management
• This module allows you to monitor machines and all running applications in a TIBCO administration
domain.
• Alerts can be created, for example, to notify an administrator if the number of processes or disk usage
exceed a certain number.
Application Management
• This module allows you to upload Enterprise Archive (EAR) files, and create, configure, and deploy
adapters.
• This console is also used to start and stop adapters
Versions of TIBCO Administrator
•Two versions of TIBCO Administrator are available
1.Repository Edition
2.Enterprise Edition
Enterprise Edition includes the Application Management module; Repository Edition does not. If
you have not purchased the Enterprise Edition, you can manage security for design-time projects
and view machine information, but you cannot perform deployment configuration and deployment
management.
TIBCO Administrator Components
• TIBCO Administration Domain
• TIBCO Administration Server
• TIBCO Administrator GUI
TIBCO Administration Domain
• A TIBCO administration domain is a collection of users, machines, and TIBCO BusinessWorks
components that a TIBCO Administration Server monitors and manages.
• There is only one Administration Server for each administration domain.
• Components within an administration domain can communicate with systems outside the domain, but the
administration domain is the administrative boundary of an enterprise integration project.
TIBCO Administration Server
• The TIBCO Administrator Server provides a central storage and distribution point for configuration data
and schema data needed by an adapter. The server is included in both Administrator editions.
• Each administration domain has one and only one TIBCO Administration Server. The TIBCO
Administration Server is the machine process that handles the stored project and requests to manage the
TIBCO administration domain.
• The TIBCO Administrator Server contains its own web server (Apache Tomcat) that can be accessed
via a the TIBCO Administrator GUI for configuration and monitoring information.
• The TIBCO Administration Server supports centralized authentication and authorization. Using the
TIBCO Administrator GUI.
Authentication-- The verification of the identity of a person or process.
Authorization --Permission to view or execute. An administrator gives users access rights to the
projects.
TIBCO Administrator GUI
• You can access the TIBCO Administration Server using the web-based TIBCO Administrator GUI.
• The GUI allows you to create users and assign access to projects managed by the Administration
Server.
• You can invoke the GUI from any machine in a TIBCO administration domain
• TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop integration projects.
• TIBCO BusinessWorks includes a graphical user interface (GUI) for defining business processes and an engine that executes the process.
• TIBCO BusinessWorks also works with TIBCO Administrator, a web-based GUI for monitoring and managing run-time components
BusinessWorks Key Components
• TIBCO Designer
• TIBCO BusinessWorks engine
• TIBCO Runtime Agent (TRA)
• TIBCO Administrator Domain
TIBCO Designer
• The TIBCO Designer graphical user interface (GUI) supports adapter configuration, process design, deployment configuration, and deployment of the integration project in one easy to use interface..
TIBCO Designer Interface
• Main Window
• Project Panel
• Palette Panel
• Design Panel
• Configuration Panel
Project Panel
• A project contains resources that implement the enterprise integration. This includes services (producers and consumers of information), any business logic that may be applied to that information, and deployment information.
• The project panel allows you to view the Project Display Tab
With the Project tab selected, the project panel displays the project tree
Global Variables Display Global variables are associated with each project
Palette Panel
• Palettes organize resources and allow you to add them to your project. You select resources in the palette panel and drag and drop them into the design panel to add them to your project.
Design Panel
• The design panel displays the current resource selected in the project panel.
Configuration Panel
• The configuration panel allows you to specify various configuration options for each resource
• After you have added the configuration information, you must click the Apply button for each tab. If you decide you do not want to add the configuration information, click Reset before you apply any changes to return to the previous values for each field in the tab.
Overview of Processes
• A process definition is the graphical representation of your business process.
• You develop and test process definitions using TIBCO Designer.
• The process definition is executed by a TIBCO BusinessWorks process engine.
Process Definitions
• A process definition is a graphical representation of your business process model.
• You create process definitions by dragging and dropping a Process Definition resource from the Process palette to the design panel.
Process definitions components
• Activities
• Transitions
• Groups
• Shared Configuration Resources
Activities
• Activities are the individual units of work within a process definition
• Activities are available on the various palettes within TIBCO Designer.
• A process definition can begin with a Start activity, but some palettes contain activities that can start a process. These activities, also known as process starters
EX: FILE POLLAR Activity from FILE Palette
Transitions
• Transitions describe the flow of processing within a process definition.
• A transition is represented by an arrow between two activities.
• The arrows are unidirectional
• Control flow in a process definition must proceed sequentially beginning with the Start activity (or a process starter) and ending with the End activity.
• Transition can optionally specify a condition. The condition determines if the transition is taken when an activity completes processing. After an activity completes
• Each activity in a process definition must have a transition to it, or the activity is not executed when the process executes
Groups
•Groups are used to specify related sets of activities
•To create sets of activities that are to be repeated. You can repeat the activities once for each item in a list, until a condition is true, or if an error occurs
•To create sets of activities that participate in a transaction. Activities within the group that can take part in a transaction are processed together, or rolled back, depending upon whether the transaction commits or rolls back.
Shared Configuration Resources
•Shared configuration resources are specifications that are shared among activities.
•These are resources, such as database connections, WSDL files, schema definitions, and connections to other servers.
•Shared configuration resources are created outside of process definitions, but they are used when specifying the Configuration tab of some activities
Subprocesses
•Business processes are often very complex and it is difficult to diagram the complete process in one process definition. You can create several smaller process definitions instead of one monolithic process definition.
•You can then call each process definition from another process definition, when necessary. When you call a process definition, the called process is known as a subprocess
•Using subprocesses helps to make more readable process diagrams and you can reuse subprocesses across many process definitions
TIBCO BusinessWorks engine
• The TIBCO BusinessWorks engine runs the business processes in test mode and at runtime
• A process engine creates instances of process definitions. These process instances automate your business processes by executing the business process described by the process definition.
• Process engines are started using TIBCO Administrator after you deploy your project
TIBCO Runtime Agent (TRA)
• The TIBCO Runtime Agent (TRA) runs on each machine and executes scripts, sends alerts, and performs recovery as specified
• The TIBCO Run-time Agent (TRA) provides basic connectivity between the adapter and other TIBCO infrastructure tools.
• The TRA is required on any machine on which an adapter is installed.
• The TRA runs on each machine on which an adapter runs and executes scripts, sends alerts, and performs recovery as specified.
TRA FUNCTIONS
• Supplies an agent that runs in the background on each machine.
•The agent is responsible for starting and stopping processes that run on a machine according to the
deployment information.
•The agent monitors the machine. That information is then visible via the TIBCO Administrator GUI.
• Supplies the run-time environment, that is, all shared libraries including third-party libraries required by the adapter.
TIBCO Administrator
• Supports security administration as well as monitoring and management of
processes and machines.
• Consists of the TIBCO Administration Server and the web browser based TIBCO Administrator GUI.
TIBCO Administrator Modules
• User Management
• Resource Management
• Application Management
User Management
• This module allows you to set permissions for adapter users.
• You define authentication, users and groups, and assign access control lists to users.
• This includes security for server-based projects at design-time and for deployed applications at runtime.
Resource Management
• This module allows you to monitor machines and all running applications in a TIBCO administration
domain.
• Alerts can be created, for example, to notify an administrator if the number of processes or disk usage
exceed a certain number.
Application Management
• This module allows you to upload Enterprise Archive (EAR) files, and create, configure, and deploy
adapters.
• This console is also used to start and stop adapters
Versions of TIBCO Administrator
•Two versions of TIBCO Administrator are available
1.Repository Edition
2.Enterprise Edition
Enterprise Edition includes the Application Management module; Repository Edition does not. If
you have not purchased the Enterprise Edition, you can manage security for design-time projects
and view machine information, but you cannot perform deployment configuration and deployment
management.
TIBCO Administrator Components
• TIBCO Administration Domain
• TIBCO Administration Server
• TIBCO Administrator GUI
TIBCO Administration Domain
• A TIBCO administration domain is a collection of users, machines, and TIBCO BusinessWorks
components that a TIBCO Administration Server monitors and manages.
• There is only one Administration Server for each administration domain.
• Components within an administration domain can communicate with systems outside the domain, but the
administration domain is the administrative boundary of an enterprise integration project.
TIBCO Administration Server
• The TIBCO Administrator Server provides a central storage and distribution point for configuration data
and schema data needed by an adapter. The server is included in both Administrator editions.
• Each administration domain has one and only one TIBCO Administration Server. The TIBCO
Administration Server is the machine process that handles the stored project and requests to manage the
TIBCO administration domain.
• The TIBCO Administrator Server contains its own web server (Apache Tomcat) that can be accessed
via a the TIBCO Administrator GUI for configuration and monitoring information.
• The TIBCO Administration Server supports centralized authentication and authorization. Using the
TIBCO Administrator GUI.
Authentication-- The verification of the identity of a person or process.
Authorization --Permission to view or execute. An administrator gives users access rights to the
projects.
TIBCO Administrator GUI
• You can access the TIBCO Administration Server using the web-based TIBCO Administrator GUI.
• The GUI allows you to create users and assign access to projects managed by the Administration
Server.
• You can invoke the GUI from any machine in a TIBCO administration domain
Subscribe to:
Posts (Atom)