Sunday, 16. May 2004
PermaLinkScheduling "Agents" in J2EE
Written By : Stephan H. WisselCategory : Concepts
Location : Singapore
When migrating your application out of Domino into J2EE, you will need to take care of quite a number of things yourself Domino did provide for you. One of them is the agent subsystem. Once you Domino is gone, there is no more built in facility to schedule the execution of code to update your data. So you need to pick your own implementation of job scheduling. Wasn't having more choices one of the hallmarks of J2EE?
Dejan Bosanac explains in an article for onJava.com what options you have to schedule your execution. While some home grown Java code might be good to get an understanding of the topic, you probably will have a very close look at more complete frameworks. The one mentioned in the article and frequently in the open source literature is Quartz, There's another article on TheServerSide written by Debu Panda also about Quarz.. Until the JSR 236 get's implemented, this looks like your best shot.
Comments :v

1. Suresh Subramanian06/22/2004 20:17:39


gravatar.com - global recognized avatar Nice to See you in weblogs . Your site is looks great and if you add more articles/white papers , that will be really helpful to the lotus community. This article is very good, I think one of concept is missed. How you are going to handle the Customized "Domino Server Addin" Tasks, and "Database Scripts".

In Other article in your site regarding Notes to RDBMS. I have few doubts in that.

1. For example if you are migrating from domino to RDBMS. How you are going to migrate? Can we migrate like this?

(Eg) Notes Database to Table, Notes Views to RDBMS views.

2. In Domino Forms, How you are going to handle the Controlled Access Section in J2EE?

3. How you are going migrate the "Folders" into "J2EE"?

4. In Notes Programming we have lot of things like "ComputeWithForm" and we have fields like "ComputedWhenComposed","Computed" (Just I mentioned few). In this case, how do you estimate the design and development hours?




2. Stephan H. Wissel06/23/2004 03:36:28
Homepage: http://fromDomino.com


gravatar.com - global recognized avatarHi Suresh,
good to have you back. This are many valid questions. Let me answer them partially:

1) It takes a little more that the few articles. RDBMS and Domino have a different approach to logical storage, so you can't map them 1:1. The closest shot you get are XML databases (or the XML extensions of RDBMS). And as usual it depends. If you have a simple form with no RichText, no multi-value fields, then you can map FORM -> TABLE. Notes Views can be either Tables or Views. Folders would be Tables with the primary key of the document as field (plus some: when added, who added etc.)

2. J2EE has per se no interface that controlles access. Access is controlled ultimatly on the EJB level. There is an article coming up on this, stay tuned

3. See 1. Folders are tables that hold the document's primary key

4. As usual: it depends. I personally think, that you can't translate this concepts directly. The closest you might get is using XForms, XLST and Schema Validation.

However your mileage might vary.
stw




Enter Comments^



Email addresses provided are not made available on this site.





You can use UUB Code in your posts.

[b]bold[/b]  [i]italic[/i]  [u]underline[/u]  [s]strikethrough[/s]

URL's will be automatically converted to Links


:angry: :grin: :cool: :rolleyes: :laugh: :lips: :-o :-p :-( :-D :huh: :emb: :-x :-) :-\ ;-) :cry:
bold italic underline Strikethrough





Remember me    

Site purpose and disclaimer
You consider to extend or replace your Domino infrastructure. You found a lot of information about messaging migration. You didn't find much about the applications, other than tool vendors advertisements. You realized that Domino migration is an emotional mine field. Bookmark this site, we will provide information and discuss the move from Domino to J2EE and other environments (both retaining and replacing Domino). We focus on applications, not on messaging.

The articles on this site mention products and phrases, that might be subject to copyright or trademarks. So we acknowledge, that the copyrights belong to the owner of the respective copyright or trademark.The links on this page are provided for convenience and are constitute no endorsement of the content of the target site.

So once your ready to discuss if and/or how to move away from Domino contact us.
Search
Site Contributors
Related Links
Resources
Some of the articles come with sample code or documents. You can get them in the Downloads section. Please check for the copyright accompanying the files.
Unless mentioned otherwise copyright of all of this site content is subject to a creative commons licence.
By Category
Lotus Domino ND7 RSS News Feed RSS Validator OpenNTF BlogSphere
Monthly Archive
Ads by Google