BOD in WebsphereCommerce Version 7 - websphere-7

Can anyone explain in detail about BOD in websphere commerce?

You might want to follow the tutorial in the below link to understand how the different classes are linked and what coding has to be done for the different classes for the various processes like get, process, change and sync of the BOD.
http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.management-center_customization.doc/tutorial/ttf_svcmain.htm

Related

Multithreading in OpenEdge

Is there any concept like multithreading in OpenEdge? If so, please give me a brief about it.
I want to create a snake game in OpenEdge. For that, the user has to control the object but once the application has started, no user interaction is available there.
Multi-threading is not available in Progress OpenEdge so far. There are many links about this. The following are two of them:
https://community.progress.com/community_groups/products_enhancements/i/openedge/add_support_for_multithreading_in_openedge
http://knowledgebase.progress.com/articles/Article/P73663
Asnyc AppServer calls is the closest you can get.

Catel application initialization

I'm looking into Catel. I started following along in the Getting Started for WPF Developers. I create the initial project using the template and run it. All well and good.
Then I take a detailed look at the generated source files. I see references to DataWindow, StyleHelper, and ViewModelBase. And I run in the debugger and watch the Catel debug output, stepping so that I can see when things happen.
And it is all magical.
The view manager somehow runs and registers the MainWindow. And the ViewModelFactory is invoked to create MainWindowViewModel, and the MainWindow DataContext gets set.
How does this all happen? I am missing the documentation that puts together for me the sequence of events when an application starts. I am reluctant to take it on faith, and reluctant to dive into the giant code base without an inkling of where to start. I have read the CodeProject articles and the intro part of the documentation.
Is this driven off of the behaviors some way? How are they invoked? I just can't find the thread that starts me on my way.
Aside: I look at Catel because I found myself implementing a ton of plumbing for a significant MVVM application, and decided that someone else had already solved this problem.
Thanks for any leads. (And thanks, Geert. This is a significant work.)
-reilly.
If I understand correctly, you are looking for advanced information of the inner workings. I think this part of the documentation might be of interest for you.
It might not provide all information you are looking for, but it should provide some.
About some basic questions:
1) The startup windows is defined in App.xaml (that's standard WPF)
2) Since it derives from DataWindow, it uses WindowLogic => LogicBase. The LogicBase uses the IViewModelLocator to find the right view model based on naming conventions (all documented)
3) Then the IViewModelFactory will instantiate the vm (using dependency injection) and return it to the logic which will set it as datacontext.
Note that as the advanced documentation tells you, Catel injects an additional layer to make a difference between the outside datacontext and the VM datacontext (of a window or user control content).
ps. I really recommend starting to use the latest prereleases via NuGet. Catel 4.0 (will be released very soon) is nearly feature complete and will prevent you from a lot of breaking changes that you have to go through (and it is of course much better :-))

adding extra codes at runtime in java

I am developing a library and I need to add extra codes to some of my methods of my objects at run time. there are two points here. first of all, the program I wanted to add extra code, is written before by some body else, and I don't wanted to edit it. second, my work is very similar to adding aspect before calling a method.
After searching and reading on in internet, I found out many frameworks like aspectj, ASPECTWERKZ and etc. that could do this job, but for example the problem with aspectj(when using in spring context) is that it doesn't provide you any API to do your weaving at runtime.
I also found out there are some libraries like ASM and javassist and etc. but they are so general and hard to learn, and my job is more likely to aspects.
So what do you suggest? is there any good library out there? Am I wrong about above libraries i mentioned earlier? Please Help!
With AspectJ you can apply your aspects when classes are loaded at runtime. See Load-Time Weaving documentation. Alternatively, you don't have to change your old code and can apply aspects at compile time.

Life ray life cycle method in JSR-186 and 168

I am newbie in Life-ray even portal application. I just started study last 15 days, and yesterday I attend an interview, they ask me following question, some of the question I answered also, but help me to understand about following questions.
What environment have you worked.
Answer: I was using eclipse IDE and plugin SDK(as per them it was not correct,probably I am wrong)
If we have a Page containing a text field and button, what will happen if I click on button.
Answer: I asked it depends what framework we are using struts or spring. then they asked if you are not using any framework then,
Then i said Life-cycle methods of portlet( init, processAction, render, destroy)
as per them this was not correct also.
Please help me to understand the correct answer.
Is there any thing specific to life-ray portal, I am quite confused.
And is there any life cycle methods difference between JSR-186 and JSR-268.
Thanks
What environment have you worked
That entirely depends one what they mean by environment as it could be programming environment (IDE, other tools, languages) or it could work environment (teams, methodologies, etc). Could you elaborate more on what they asked?
If we have a Page containing a text field and button, what will happen if I click on button
Again this is really open ended, and depends on what code is written. However we assume that the button is linked to a form, who's action is to invoke the Portlets process action method, then that's would would happen. After that it would probably enter the render phase again, but it depends what code has been written inside the portlet!
I personally think their questions are a bit generic, and they may have been looking for you to narrow down their questions more.
What do other people think?

Is G4jsf still being developed/supported?

I've been evaluating different Java Web Application UI Frameworks. I have about 8 months of intensive JSF experience that I'd like to continue using. JSF also provides me the spider-readable markup as well as the ability to create very simple forms without touching much Java code.
I also will have need for thick-client side interfaces that will perform well with few server round trips. GWT seemed like an ideal choice for this.
So, when I found G4jsf, I thought I had found the best of both worlds. However, I can't seem to find any active development on it. I hope it hasn't died, but it seems like that is the case.
Is there active development on this? Or am I two years too late?
Well, based on the conversation in the reference below, it seems that G4jsf is no longer being supported. If the poster is in fact Sergey Smirnov, I would imagine he'd be a pretty reliable source on the matter. :)
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=150674

Resources