Tuesday, January 31, 2012

History of Riots in India post Independence

Dear reader,

I wanted to post an article which is published in a daily national news paper in India.
It is about "History of Riots" in India by various political parties. Though I was not born before "1982"
but by reading history books and news papers, I came to know about these aswell.
Also I just wanted to add a phrase here: in India, constitution treats all the communities as equal and
hence all the communities take equal partition in communal disturbances :-)
And so the name is RIOT.
However if you see Hard liner countries like Pakistan, Bangladesh, where minorities are always
getting suppressed/strangled and I name this as Communal JYADATI (word in Hindi) or One sided clash where minority
members can't even think to retaliate.

However most such clashes are politically motivated and for vote bank and so no comment on this. We humans
have always a tendency to fight and reveal our EGO this way....

History | Political government who were there in Power in State
====== | =====================================================
2002_|_RIOT, a Result of Train burning in_Godhra_Gujarat as written below|Many people_Killed_|_BJP_|_CM___MODI_|
2002_|_Train burning by one community triggers full flown RIOT in Gujarat State |
1992_93_witnessed_riots_in_Maharshtra_|_The_chief_ministers_were_Congressmen_|
OCT_1990_|_riots_in_patna_Bihar_|_18_killed_|__CONGress_|_CM___Jagan_Mishra_|

1989__90_|_Bhagalpur_Bihar_violence_|_896_killed_|__CONGress_|_CM___Jagan_Mishra_
Oct_1990_|_violence_in_Beawar__Maharshtra_|___CONGress_|_CM___Sharad_Pawar
OCT_1990_|_Violence_in_HailaKandi_Assam_|_37_killed_|__AGP_|_CM_Prafulla_mahanta
OCT_1990_|_violence_in_Delhi_ChandniChowk_|_100 _Killed_|__Janta_Dal_

APR_MAY_1990_|_violence_in_KANPUR_|_30_killed_|__Janta_Dal_|_CM__Mulayam_yadav_
Novemeber_1990_|_violence_in_Agra_|_33_killed_|__Janta_Dal_|_CM__Mulayam_yadav
Oct_1990_|_violence_in_Lucknow__UP_|_33_Killed_|__Janta_Dal_|_CM__Mulay_yadav
1990__1991_|_Gujarat_riots__Around_270_killed_|__Janta_Dal_&_Cong_|_CM__Chiman_Patel_
March_1989_|_violence_in_Bhadrak_,_Orissa_|__CONGress_|_CM__JB_Patnaik

Sept_1989_|_violence_in_Kota_,_Rajasthan_|__CONGress_|_CM__SC_Mathur_
OCt_1989_|_violence_in_Indore_|_27_killed_|__CONG_|_CM_ML_Vohra_
Apr_May_1987_|_violence_in_Meerut_,_UP_|_81_killed_|__CONG_|_CM__VB_Singh
July_1986_|_violence_in_Ahmedabad_|_59_Killed_|__CONG_>_
April_1985_|_riots_in_Ahmedabad_|_300_Killed_|__CONG_

OCT_1984_|_riots_in_Delhi_|_2733_Killed_|__CONG_1984_witnesses_anti_Sikh_riots_in_Delhi|__happened_to_be_CONgress_|
May1984_|_riots_in_Bhiwandi_|_146_Killed_,_611_Inj_|__CONGress_|_CM__Vasandada_Patil_|_
Sept_1983_|_riots_in_Hyderabad_|_45_killed_|__TDP_|_Chief_Min__NTR_
October_1983_|_violence_in_HazariBagh_|__CONGress_|_CM__Chandrashekhar_Singh
June_1983_|riots_again_in_Malegoan_Maharshtra_|__CONGress_|_CM__Vasantdada_patil_
May_1983_|_riots_in_Malur_Karnataka_|__Janta_|_CM___Mr_hegde_

Dec_1982_|_riots_in_Baroda_|__Congress_|_CHief_Min_Mr_Solanki_
Sept_1982_|_riots_in_Meerut_,_UP_|__Congress_,_CM_Sripaty_Mishra_
April_1981_|_riots_in_BiharSharif_Bihar_|_Around_80_Killed_|__CONGress_
Auguest_1980_|_Moradabad_riots_|_Approx_2000_Killed_|__Congress_
April_1979_|_riots_in_Jamshedpur_,_West_Bengal_|_More_than_125_killed_|__CPIM
Sept_1978_|_riots_in_Hyderabad_|_19_Killed_|__CONg_

Oct_1978_|_violence_in_Aligarh_,_UP_|_30_Killed_|__Janta_Party_|_Non_called_it_|_
March_1978_|_riots_in_Sambhal_,_UP_|_25_killed_|__Janta_party
1977_|_Varanasi_Riots_|__Janta_|_Non_called_it_|
May_1970_|_Mahad_Maharshtra_riots_|__CONG_ 1970_|_riots_in_Jalgoan_Maharshtra_|_43_killed_|__was_CONG_
1970_|_Bhiwandi_riots_in_Maharashtra_|_Around_80_killed_|__CONg

1969_|_riots_in_Ahmedabad_|_More_than_512_Killed_|__happened_to_be_CONG
March_1968_|_around_100_killed_in_KarimGanj_Assam_|__again_CONG_
August_1967_|_200_Killed_|_riots_in_Ranchi_|_Party_ruling_again_CONG_
1964_riots_in_Rourkela_&_Jamshedpur_|_2000_Killed_|__CONG_ 1947_riots_in_Bengal_|_5000_Killed_|__happened_to_be_CONG

Taken from link: http://timesofindia.indiatimes.com/india/Buhkari-communal-Anna-violent-Diggy/articleshow/11693116.cms

Wednesday, January 18, 2012

Weblogic configurations: weblogic-ejb-jar.xml

//weblogic-ejb-jar.xml codes
URL can be referred: http://docs.oracle.com/cd/E11035_01/wls100/ejb/DDreference-ejb-jar.html
==============================================================================
//weblogic-ejb-jar.xml file structure and Elements (Complete coding is given below after following structure:
The top level elements in the WebLogic Server weblogic-ejb-jar.xml are as follows (Explanation of useful 
elements are given at the end):
-----------------------------------
    description
    weblogic-enterprise-bean
        ejb-name
        entity-descriptor | stateless-session-descriptor | stateful-session-descriptor | message-destination-descriptor
        transaction-descriptor
        enable-call-by-reference
        network-access-point
        clients-on-same-server
        run-as-principal-name
        create-as-principal-name
        remove-as-principal-name
        passivate-as-principal-name
        jndi-name
        local-jndi-name
        dispatch-policy
        remote-client-timeout
    security-role-assignment
    run-as-role-assignment
    security-permission
    transaction-isolation
    idempotent-methods
    retry-methods-on-rollback
    enable-bean-class-redeploy
    disable-warning
    work-manager
    weblogic-ejb-jar
-----------------------------------
 
//weblogic-ejb-jar.xml Elements
The following list contains the elements in weblogic-ejb-jar.xml
-----------------------------------
    allow-concurrent-calls
    allow-remove-during-transaction
    cache-between-transactions
    cache-type
    client-authentication
    client-cert-authentication
    clients-on-same-server
    concurrency-strategy
    confidentiality
    connection-factory-jndi-name
    create-as-principal-name
    delay-updates-until-end-of-tx
    description
    destination-jndi-name
    disable-warning
    dispatch-policy
    ejb-local-reference-description
    ejb-name
    ejb-reference-description
    ejb-ref-name
    enable-bean-class-redeploy
    enable-call-by-reference
    enable-dynamic-queries
    entity-always-uses-transaction
    entity-cache
    entity-cache-name
    entity-cache-ref
    entity-clustering
    entity-descriptor
    estimated-bean-size
    externally-defined
    finders-load-bean
    global-role
    home-call-router-class-name
    home-is-clusterable
    home-load-algorithm
    idempotent-methods
    identity-assertion
    idle-timeout-seconds
    iiop-security-descriptor
    initial-beans-in-free-pool
    initial-context-factory
    integrity
    invalidation-target
    is-modified-method-name
    isolation-level
    jms-client-id
    jms-polling-interval-seconds
    jndi-name
    local-jndi-name
    max-beans-in-cache
    max-beans-in-free-pool
    message-destination-descriptor
    message-destination-name
    message-driven-descriptor
    method
    method-intf
    method-name
    method-param
    method-params
    passivate-as-principal-name
    persistence
    persistence-use
    persistent-store-dir
    pool
    principal-name
    provider-url
    read-timeout-seconds
    remote-client-timeout
    remove-as-principal-name
    replication-type
    res-env-ref-name
    res-ref-name
    resource-description
    resource-adapter-jndi-name
    resource-env-description
    resource-link
    retry-methods-on-rollback
    role-name
    run-as-identity-principal
    run-as-principal-name
    run-as-role-assignment
    security-permission
    security-permission-spec
    security-role-assignment
    service-reference-description
    stateful-session-cache
    stateful-session-clustering
    stateful-session-descriptor
    stateless-bean-call-router-class-name
    stateless-bean-is-clusterable
    stateless-bean-load-algorithm
    stateless-bean-methods-are-idempotent
    stateless-clustering
    stateless-session-descriptor
    transaction-descriptor
    transaction-isolation
    transport-requirements
    trans-timeout-seconds
    type-identifier
    type-storage
    type-version
    weblogic-ejb-jar
    weblogic-enterprise-bean
    weblogic-compatibility
    work-manager
-----------------------------------
==============================================================================
//For Session beans (Stateless)
==============================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN" "http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd" >

<weblogic-ejb-jar>
  <weblogic-enterprise-bean>
    <ejb-name>GatewayBMT</ejb-name>
    <stateless-session-descriptor>
      <pool>
        <max-beans-in-free-pool>200</max-beans-in-free-pool>
        <initial-beans-in-free-pool>200</initial-beans-in-free-pool>
      </pool>

      <stateless-clustering>
        <home-load-algorithm>RoundRobin</home-load-algorithm>
        <stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
      </stateless-clustering>

    </stateless-session-descriptor>

    <transaction-descriptor>
      <trans-timeout-seconds>120</trans-timeout-seconds>
    </transaction-descriptor>
  
    <enable-call-by-reference>true</enable-call-by-reference>
  
    <jndi-name>com.ewp.ejb.GatewayBMTRemoteHome</jndi-name>
  </weblogic-enterprise-bean>
  
  <transaction-isolation>
    <isolation-level>TransactionReadCommitted</isolation-level>
    <method>
      <ejb-name>GatewayBMT</ejb-name>
      <method-intf>Remote</method-intf>
      <method-name>process</method-name>
      <method-params>
        <method-param>com.ewp.core.dataobjects.EWPMessage</method-param>
      </method-params>
    </method>
  </transaction-isolation>
</weblogic-ejb-jar>
==============================================================================

//For Entity Beans

<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC 
          "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN"
          "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">

<weblogic-ejb-jar>
    <weblogic-enterprise-bean>
        <ejb-name>demo.Story</ejb-name>

        <entity-descriptor>
            <entity-cache>
                <max-beans-in-cache>100</max-beans-in-cache>
                <idle-timeout-seconds>600</idle-timeout-seconds>
                <read-timeout-seconds>0</read-timeout-seconds>
                <concurrency-strategy>Database</concurrency-strategy>
            </entity-cache>

            <lifecycle>
                <passivation-strategy>default</passivation-strategy>
            </lifecycle>
           
              <persistence>
                <delay-updates-until-end-of-tx>true</delay-updates-until-end-of-tx>
                <finders-load-bean>true</finders-load-bean>
                <persistence-type>
                    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                    <type-version>5.1.0</type-version>
                    <type-storage>META-INF/weblogic-rdbms11-persistence-600.xml</type-storage>
                </persistence-type>
            
                  <db-is-shared>true</db-is-shared>
                <persistence-use>
                    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                    <type-version>5.1.0</type-version>
                </persistence-use>
            </persistence>
            
            <entity-clustering>
                <home-is-clusterable>true</home-is-clusterable>
            </entity-clustering>
        </entity-descriptor>
        
        <transaction-descriptor>
            <trans-timeout-seconds>30</trans-timeout-seconds>
        </transaction-descriptor>
        
        <enable-call-by-reference>true</enable-call-by-reference>
        <jndi-name>demo.StoryHome</jndi-name>
    </weblogic-enterprise-bean>
    
</weblogic-ejb-jar>
==============================================================================

Element Descriptions: Please check this URL: http://docs.oracle.com/cd/E11035_01/wls100/ejb/DDreference-ejb-jar.html