Hi,
Flex Parsely's Spicelib framework has an unique feature of dependency injection using the (IOC) Control mechanism.
Parsley being an Application Framework for Flex and Flash applications has been built upon an IOC Container and messaging framework that can be used to create Highly decoupled architectures. It allows you to configure the objects to be managed by the container with MetaData, mxml, xml or as which can be extensible.
The Core of the Framework (IOC) Container and the Messaging Subsystem does not depend on the flex SDK at all.
It Provides the Messaging and Object Lifestyle Management. The Core Features of any IOC Container is the dependency injection.
For Flex Remoting the Framework can help you in two respects, first you can declare your remoteobjects in a parsley configuration class alongside other objects and inject them into your commands/Controller Class or you can use the support for asynchronous commands to also route results and exceptions or remoting invocations using a more decoupled manner.
IoC Containers provide out of the box methods for instantiating and configuring your application’s objects. The use of an IoC container is dependent on your (and your application’s) needs. For smaller projects, it might not be appropriate.
Cheers!!
Pushkar
Sunday, November 28, 2010
Saturday, October 2, 2010
Some of the LiveCycle ES2 Process Management Issues Resolutions
LiveCycle Process Management 9
Task assignments to a user or user group fail even though the user domains in the development and production environments are configured exactly the same.
If a process that was tested in a development environment is executed in a production environment, the task assignment to a user or group fails even though the user domains in the development and production environments are configured exactly the same. The process is also not transferable to another computer (production environment) that had the same user or group added in the LiveCycle Administration Console. To resolve this issue, do one of the steps below:- Use the Assign Multiple Tasks operation: Create a UserList and add the group you have created to the UserList. In the User 2.0 service, select the UserList you created as the source of participants for that Assign Multiple Tasks operation.
- Use the XPath option in the User 2.0 service: Provide either the name or email address of the group you have created. The Xpath expression resolves to the following (including the quotes):
- “Group Name”
- “groupEmail@someserver.com”
- “Group Name”
- Production environment: Deploy the process, and then use Workbench to connect to the LiveCycle server. Check out and open the process, and then reconfigure the Initial User Selection properties. For example, if you have Assign To Specific User selected, browse and select a different user, and then browse and select the original user again. This sets the Initial User Selection properties to the correct user in the production environment.
Cheers!!
Pushkar
Tuesday, September 28, 2010
Adobe AIR 2
The Adobe® AIR® 2 runtime enables developers to use HTML, JavaScript, Adobe Flash® software, and ActionScript® to build web applications that run as standalone client applications without the constraints of a browser. Adobe AIR and the Adobe Flash Platform unleash the creativity of designers and developers by providing a consistent and flexible development environment for the delivery of applications across devices and platforms. Support for additional platforms, including Android, is under development.
AIR 2 Comes with Global error handler
When an unexpected error occurs within an application, capture the error or error event in a single location and present useful information to the user, such as instructions on how to report the issue or restart the application.
Security improvements ENHANCED
Set the execution bit on a file. Take advantage of encrypted TLS sockets and access to the MAC address.
IPv6 network support
and with more features......
Cheers!!
Pushkar
Cheers!!
Pushkar
JVM Termination with Exit Code =1 ES2 Workbench Crashes
Finally Resolved the problem!!!
The Problem is LC Server fails to log an exception from LC ES2 WB even though getting a failure after logon to the LC Server.
The failure to display the LC Process designer Screen for either creating a Process or editing a process was occuring because of the Port conflict that comes up when the LCDS 3.1 and the LC WB Communication is running on the same server using the same port.
Just resolved the problem:
Edited the Services Config file with the RTMP tag and changed the port from 2038 to 2058. Redeployed the LCDS 3.1. LC ES2 WB Works fine now...
The Problem is LC Server fails to log an exception from LC ES2 WB even though getting a failure after logon to the LC Server.
The failure to display the LC Process designer Screen for either creating a Process or editing a process was occuring because of the Port conflict that comes up when the LCDS 3.1 and the LC WB Communication is running on the same server using the same port.
Just resolved the problem:
Edited the Services Config file with the RTMP tag and changed the port from 2038 to 2058. Redeployed the LCDS 3.1. LC ES2 WB Works fine now...
LC WB ES2 JVM Exit Code = 1 Termination Exception: Unable to view any existing processes or create new processes.
I had been facing this problem for two hours now. Checked the JVM args/JBoss Args (No exception on the JBoss Side), Facing issues only while connecting to Workbench in creating new processes or viewing existing processes. It fails to show the process designer screen and throws an JVM Exit Code exception.
Tried checking the Eclipse/WB related configuration files. Checked the javaw.exe by starting it with the required Xms/Xmx configurations. (No Change).
Cleaned the workbench.exe but still nodifference..
Started the Workbench Exe with the highest possible JVM args Still the problem persists..Not sure wht to do..
Tried checking the Eclipse/WB related configuration files. Checked the javaw.exe by starting it with the required Xms/Xmx configurations. (No Change).
Cleaned the workbench.exe but still nodifference..
Started the Workbench Exe with the highest possible JVM args Still the problem persists..Not sure wht to do..
Sunday, September 26, 2010
Problem while running Oracle 9i/ (XDB) Jboss/Tomcat on the same port 8080
I Just faced this issue while running the JBoss and Oracle 9i XDB on 8080 port.
Jboss fails to start as the Oracle XDB is running on 8080.
one way to override this Configuration is by changing the configuration of the listener of Oracle. one can remove the xdb http configuration from the listener and restart the lsnrctl (listener). But this would stop the working of XDB.
One can first verify by running the Select Dual Query in the DB using the Sys User (DBA Previledge) for finding the current Httpport in use.
Also, one can run the PL/SQL command below by logging in as a Sys User in the DB.
- Sys/Password @ DBName as sysdba
$> begin
dbms_xdb.SetHTTPPort('9090');
end;
/
This would reset the HttpPort that is being used by the XDB.
Shutdown immediate;
Startup
Restart of the DB would take the changes.
Then you can restart the JBoss to take the changes and run both Oracle XDB as well as Jboss instance.
Cheers!!
Pushkar
Jboss fails to start as the Oracle XDB is running on 8080.
one way to override this Configuration is by changing the configuration of the listener of Oracle. one can remove the xdb http configuration from the listener and restart the lsnrctl (listener). But this would stop the working of XDB.
One can first verify by running the Select Dual Query in the DB using the Sys User (DBA Previledge) for finding the current Httpport in use.
Also, one can run the PL/SQL command below by logging in as a Sys User in the DB.
- Sys/Password @ DBName as sysdba
$> begin
dbms_xdb.SetHTTPPort('9090');
end;
/
This would reset the HttpPort that is being used by the XDB.
Shutdown immediate;
Startup
Restart of the DB would take the changes.
Then you can restart the JBoss to take the changes and run both Oracle XDB as well as Jboss instance.
Cheers!!
Pushkar
Monday, September 20, 2010
Endpoints of LC ES/ES2 and utilizing the LC Components.
As discussed, in my prior post, LiveCycle ES/ES2 have a varied list of endpoints for invocations.
These Invocations can be made a possibility from any layers preferably from Flex UIs.
The Various Endpoints exposed to the outside layer from LC includes
1. EJB. (for Java API)
2. TaskManagers
3. EMail Endpoints.
4. WatchedFolders
5. SOAP
6. Workspace
7. REST (Added with the recent release of LiveCycle ES2) (9.0.0.1).
Each of these end points follow separate methods for invocations and for different needs.
These endpoints when exposed are used primarily for handling all the process invocation standards and configurations.
These Endpoints can be used further along with the Service Configurations to Manage and utilize the LC Components in the process workflows.
Cheers!!
Pushkar
These Invocations can be made a possibility from any layers preferably from Flex UIs.
The Various Endpoints exposed to the outside layer from LC includes
1. EJB. (for Java API)
2. TaskManagers
3. EMail Endpoints.
4. WatchedFolders
5. SOAP
6. Workspace
7. REST (Added with the recent release of LiveCycle ES2) (9.0.0.1).
Each of these end points follow separate methods for invocations and for different needs.
These endpoints when exposed are used primarily for handling all the process invocation standards and configurations.
These Endpoints can be used further along with the Service Configurations to Manage and utilize the LC Components in the process workflows.
Cheers!!
Pushkar
Subscribe to:
Posts (Atom)