I have gone a considerable way down the WCF/MSMQ route (see my articles/posts) but find its awkwardness exasperating. Transactions were presented as a 'done deal' both in the documetation I read and the resposes to my queries. See Mohamad Halabai's work in this site and elsewhere.
im making reportage website and i want that the editor/reporter will have the ability to edit his reportage with "rich text editor" i kinda found my rich text editor.My question is how does it works snd how do i set it on my website i use asp.net...:/
every help will be aprreciated
I have an IT-architectural problem and probably not enough experience to take an objective and with criteria decision. The problem is the following:
I have an ASP.net web monitoring application which gathers, processes and shows information to connected users near to real time. This information has also to be processed by an AI-based expert system. At this point, JBoss Drools was selected as the most adequate engine to deal with this task. The selected version of this expert system engine is the Java version while the body of the main application works over C# (to select the C# Drools version is not a feasible option). Then, I should find the best way to connect both parts of the application.
1. The first option is to connect both processes through web services. This is, to deploy as a Java Web Service an interface of the Java part of the application in order to add elements to the knowledge memory of the expert system, and retrieve the "results" (alarms or warnings). Something like to publish a method as:
public newAlarmsOrWarnings addFacts(factsToAddToTheKnowledgeBase fa, factsToRetrieveFromTheKnowledgeBase fr);
which should be called by the main C# /ASP.NET process.
2. To maintain a record of changes in the database and regularly (e.g. every 5 seconds) poll this table looking for updates. The problem is that this way I will have two separate accesses from two very independent sources to the database, which is not a pleasant situation so the application will be maintained and expanded in the future and it implies more work, higher chance of problems, etc.
3. Other "mix" solutions.
Any suggestion will be very welcome; thanks in advance.
PD: English is not my native language so please take it into account when you discover any typing error.
There is a huge hybrid battle ship that sail, load cargo, carry ammunition, commandos, & sometimes go down the water like a submarine, and some time camouflager itself based on the surroundings. It does a lot of things, & equally has a lot of properties like, color, size, Housing capacity, firing capabilities. etc.
Now, on the ship, there's only one place where I can mount ammunition.
I have a set of ammunition. Anti-aircraft guns, fire shells, Launch missiles, etc etc. but all these are "mutually exclusive".
If I would like to mount the ship with Anti-aircraft guns, all other ammo go unusable. I can dynamically swap between available ammo.
propert A,B ,.....Z;
void MountAndFire(Ammo ammo_in)
//if it's a gun,
int ammo_in.Fire(numberofrounds:30); //returns remaining ammo
// if it's a missle launcher:
float ammo_in.Fire(direction:120, distance:200); // return ammount of heat it generated on the ship
int ammo_in.Fire(Numberofcluster:600, direction:120, Distance:200);// Returns something else
How do you have a generic design to address this? I thought of having a Ammo Interface, and have a Fire() call,
But the parameter for the fire call differ for all the ammo. So I cant' say: