//AMIS Technology Blog » Web/Java » Page 2

Web/Java

Knowledge Center Web and Java

WebshopsupportApp

How to build an IM (XMPP) solution with Oracle APEX and Websockets

0
Using Kaazing Websocket Gateway and OpenFire Scenario: If you, for example, have a webshop and a webshop online support application for internal use, this solution will let the webshop customer call in some help by using IM. The support application will react on the customer call by opening the support application with customer details selected and the messaging client opened. I used an Apex application to create both parts of the solution. The IM client however is easy to integrate in any kind of website/framework.

 

Underneath the recipe for some nice IM functionality in Oracle Apex, assuming you have a running Apex instance and a JVM 1.5+ install) and moderate+ Apex skills:
  1. Scrape together the ingredients
  2. Install Kaazing Gateway XMPP edition and OpenFire
  3. Configure Kaazing and OpenFire
  4. Create an Apex app with IM client
  5. Create anApex Webshop support app
  6. Wire the Apex Webshop support app to the Apex app with IM client
  7. Final touch
After finishing this step-by-step recipe your application looks like this: The webshop support app (page content is depending on your one creativity)

The webshop side of the scenario without the shop :

(more…)

8 months ago

Hierbij nodigen we je uit om met ons kennis te komen maken.

Ben jij een (junior) Oracle consultant die een stap verder wil maken? Wil je verder groeien en ontwikkelen tot principal consultant? AMIS geeft je de kans om die stap te zetten.  Bij ons krijg je de ruimte om te experimenteren én te leren samen met de experts op je vakgebied.

Vacatures bij AMIS servicesLaat ons in een vrijblijvend gesprek vertellen welke mogelijkheden we je kunnen bieden. Neem voor een afspraak met een van onze consultants contact op met Eva.van.der.kleij@amis.nl of bel haar op 030-6016000. Je bent van harte welkom.

AMIS merkt dat haar concept van hoogwaardige en kennisintensieve dienstverlening erg succesvol is. Onze toekomst ziet er erg aantrekkelijk uit met interessante opdrachten bij toonaangevende klanten. Vandaar dat we op zoek zijn naar uitbreiding van ons team.

Denk niet direct dat je hiervoor te weinig kennis of ervaring hebt: jouw toekomstige ervaren collega’s doen niets liever dan jou verder helpen. Ons trainingsprogramma voorziet in een grote diversiteit aan opleidingen en tijdens onze interne kennissessies kun je op veel terreinen iets van je collega’s opsteken. Concreet hebben we de volgende vacatures:

Wellicht sta jij volgende maand met een artikel op deze blog, schrijvend over de nieuwe dingen die je hebt geleerd of toegepast.

Om je een beeld te geven van het werk bij AMIS volgt hieronder een lijst met de trajecten waar we de afgelopen maanden aan gewerkt hebben. We vertellen je graag in een persoonlijk gesprek meer over deze trajecten.

  • OSB / SOA Suite implementatie bij een grote informatie verwerkende organisatie.
  • Realisatie ADF 11g van een backend applicatie voor een pensioenfonds.
  • OSB / SOA / BPEL oplossing voor een logistieke dienstverlener.
  • Procesoptimalisatie met Oracle BPEL en invoering van BPM bij een financiële dienstverlener in Nederland.
  • Realisatie van een medisch registratiesysteem in ADF.
  • Advies op het gebied van het gebruik van ADF 11g in combinatie met JHeadstart voor een energiebedrijf.
  • Realisatie van een SOA / BPEL implementatie voor een pensioenfonds.
  • Realisatie van een administratiesysteem voor een verzekeraar buiten Nederland (EU) in ADF 11g en JHeadstart.
  • Oracle XML DB implementatie voor een grote bank.
  • Realisatie van een SOA Suite / BPEL oplossing voor een grote logistieke leverancier.
  • Proof of concept ADF 11g bij een groot adviesbureau.
  • Oracle APEX / GIS implementatie bij een groot adviesbureau.
  • SOA / BPEL traject bij een grote gemeente.
  • Oracle WebCenter, ADF 11g, SOA Suite 11g en OSB traject bij een grote wereldwijde dienstverlener.
  • Webservice koppeling met ADF en JAX WS voor een grote gemeente.
  • Advies en implementatie van een professionele ontwikkelstraat bij een IT-bedrijf
  • ..meer

Tot ziens bij AMIS!

 

Vacatures bij AMIS services

Oracle RDBMS 10GR1: solution to avoid character encoding in XML with UPDATEXML

On a recent project, I ran into a problem with an XML document, that had to be enclosed within another XML document, generated from a database query. The problem I ran into was the character encoding of the XMLElement function, which eventually was worked around with UPDATEXML.

In this blog post I would like to share with you several attempts to solve this problem, why they failed and the final solution to the problem.

Printing of official documents happened in a separate printing module. Whenever a document needed to be printed, an XML document was generated in a database query and sent to the printing module. Most of the data came from relational database tables, but pieces of standard text were supplied as XML documents by another party… and saved in our database in an XMLType column based on CLOB storage.

Our printing module expected to find these standard text XML documents within a tag in our generated XML document. Also both XML documents, our generated XML and the supplied XML, had different namespaces, this needed to maintained this way. The Oracle database version we were working with was 10.1.0.5.0.

In this post I will use a simplified version of the real XML More >

Vacatures bij AMIS services

EJB an MDB best practices on WebLogic Cluster

2

Recently I did an audit on a WebLogic 11g platform of one of our customers. There were many problems with the availability of their JAVA Applications. Some of the problems we’re platform related ( installation, configuration and infrastructure related) but a lot of them already existed in an earlier stage at application programming and configuration level.

So I decided to bundle some tips for JAVA programmers how they should configure their EJB, MDB and Servlet applications when they will be deployed on a WebLogic cluster.

This is an example of a typical EJB application architecture in WebLogic Server:

Some hints and tips:

(more…)

Vacatures bij AMIS services

WLST script to add DataSource and DBAdapter EIS Connection Factory

5

Creating a EIS ConnectionFactory in your Database Adapter can be done with the WebLogic Administration Console, but of course this is also “scriptable”. What I needed was a script that created a Data Source with EIS Connection factory bound to the specific datasource.

First I created a properties file, let’s call it DsCf.properties. Everything between <> should be replaced with your own values:

# Propertie file for creating datasource and EIS DB Adapter # Created by Michel Schildmeijer # Domain settings domainname="&lt;your WLS DOMAIN&gt;" adminurl=&lt;WLS HOST:Admin Port&gt; adminusername=weblogic adminpassword=&lt;passwd weblogic&gt; #datasource settings datasourcename=&lt;Name DataSource&gt; datasourcedatabasename=&lt;database&gt; datasourcetarget=&lt;targeted manaegd server&gt; datasourcefilename= datasourcename + '.xml' datasourcejndiname= 'jdbc/' + datasourcename datasourcedriverclass=oracle.jdbc.OracleDriver datasourceurl=jdbc:oracle:thin:@&lt;db host&gt;:1521:&lt;db sid&gt; datasourceusername=&lt;db user&gt; datasourcepassword=&lt;db user password datasourcetestquery=SQL SELECT * FROM DUAL #EIS Connection Factory settings connfactname=eis/DB/&lt;Connection factory More >
SIG Event

WebLogic 12c: Use JPA in your Web Application

3

Where as in WebLogic 11g JPA was not support by default, in WebLogic 12c it is the default persistency provider.JPA 2.0 is part of JAVA EE 6.

I was trying some new JAVA EE 6 features in WebLogic 12c, so here is a is a way to create a Web Application with JPA under WebLogic 12c

Some of the JAVA EE 6 specifications we’re already supported in WebLogic 11g. JPA 2.0 was one of them. Though version 1.0 was the default. 2.0 also worked.Unless an explicit <provider>…</provider> wass specified in the persistence.xml file of a deployed application, WebLogic 11g used OpenJPA/Kodo by default.

The default JPA provider setting is exposed via a new MBean: JPAMBean on the DomainMBean, and persists the configuration into the config.xml file.

Furthermore, you needed to install the patch QWG8 – Enable JPA 2.0 support on WebLogic Server.

To make it work on 11g, you had to use Oracle TopLink as the persistency provider like the image shows you in the WebLogic Admin Console

Now for 12c this is not needed anymore, TopLink will be the default JPA Provider

(more…)

Go to Top