Generic Connection Framework Optional Package for J2SE
i have learnt that the Generic Connection Framework Optional Package can be used to make J2SE able to use J2ME classes. However, how can i implement the package so that i can do so.
Thank you for your advice.
http://developers.sun.com/techtopics/mobility/midp/articles/genericframework/
Similar Messages
-
Is there an open FREE Math/Stat package for J2SE available?
Hi,
I asked something similar before, but my question was not as clear as now: Is there an open FREE Math/Stat package for J2SE available?
If yes, can this package do multiple linear regression?
If yes, where can it be downloaded from?
Thanks, raspedyes but cannot do regression.
yet have the matrix classes necessary to do your own regression classe.
http://hoschek.home.cern.ch/hoschek/colt/ -
Confusion with JDBC Optional Package for CDC.
I am somewhat confused as to where this optional package fits.
1. Is the implementation of this optional package to be COMPLETELY supplied by the database vendor(e.g. hsqdb, Oracle)?
OR
2. Is there an implementation available from Sun?
OR
3. Has Sun simply not released an implementation yet?
OR
4. Am I completely missing something here and losing my mind :)
OR
Is the JVM supposed to supply the implementation?
Thanks for any enlightenment.
JThe actual specification can be written without actually talking to a database (the spec is mostly interfaces). However, you are write in that along with these classes (which must pass the TCK) the database vendor must provide the rest. Unlike normal java.sql where there is a DriverManager class, that is not the case in JSR-169.
-
Generic Connection Framework implementation for J2SE
Hi all,
I need to use HttpConnection and Connector in my J2SE application because it was ported from CLDC/MIDP environment.
I found that there is a JSR (197) but I not found an implementation of this document. The only usefull link I found with Google is this:
http://www.microjava.com/articles/techtalk/connection_framework?content_id=798
but with this method I can't obtain HttpConnection...
Can you help me?
Thanks,
RenatoFirst of all: thanks :-).
I don't know how to transalte these methods:
getPort
getProtocol
getQuery
getRef
getRequestMethod
getRequestProperty
getResponseCode
getResponseMessage
getURL
setRequestMethod
setRequestProperty
getEncoding
getLength
getType
I made a library to use http over bluetooth from a MIDP device, so I need all HttpConnection method.
Thank you,
Renato -
I'm trying to tweak the NetworkDemo included in the WTK22 package to be able to access a remote Server. In other words, I want to be able to change "//localhost:5000" to a specific machine like "gpunix.cc.umr.edu" and log in with an userID and passwd. I have had no success so far. Can anyone help ?
Hi,
Can u post the error message that u get when u try to connect to a remote machine? -
Restart deployment (.ear) does not load optional package
Hello everybody,
In our 10.3.5 WLS domains, we are using optional packages for sharing libraries between applications see [http://docs.oracle.com/cd/E24329_01/web.1211/e24368/libraries.htm|Creating Shared Java EE Libraries and Optional Packages]
The problem is that if I redeploy the library I have to redeploy the deployment. This issue only happens with the applications packaged as *.ear*. If the application has been deployed as a .war, with restarting the deployment is enough.
Would be possible to load the referenced library from an *.ear* just restarting the deployment?
Thanks in advance,
LuisThanks Vimala,
I have 1 ear project and 1 web service project.
Attached my ant output when I run the build.xml.
C:\wivWorkSpace\wivApp>ant build -Dworkspace=C:/wivWorkSpace
Buildfile: build.xml
init.env:
init.typedefs:
init:
build:
[echo] project.name = wivApp
init:
build:
[echo] wivWS: C:\wivWorkSpace\wivWS\build.xml
BUILD SUCCESSFUL
Total time: 23 seconds
C:\wivWorkSpace\wivApp>ant build -Dworkspace=C:/wivWorkSpace archive
Buildfile: build.xml
init.env:
init.typedefs:
init:
build:
[echo] project.name = wivApp
init:
build:
[echo] wivWS: C:\wivWorkSpace\wivWS\build.xml
init.env:
init.typedefs:
init:
stage:
[delete] Deleting directory C:\wivWorkSpace\wivApp\.staging
[mkdir] Created dir: C:\wivWorkSpace\wivApp\.staging
[copy] Copying 13 files to C:\wivWorkSpace\wivApp\.staging
BUILD FAILED
C:\wivWorkSpace\wivApp\build.xml:192: The following error occurred while executing this line:
jar:file:/C:/BEAPLA%7e1/WEBLOG%7e1/workshop/lib/wlw-antlib.jar!/com/bea/wlw/antlib/antlib.xml:91: The follow
ng this line:
C:\wivWorkSpace\wivApp\build.xml:204: The following error occurred while executing this line:
Target `stage.to.ear' does not exist in this project.
Total time: 15 seconds -
Optional Package - does it decrease memory size for war
We have around 10+ war files running within WLS 10.3.4.
Each of the war files are around 40 megs each.
I am looking at building a frameworks jar (via Apache Shade) and make that jar an optional package (which includes all my 3rd party frameworks like Spring/CXF/etc).
By deploying this jar as an optional package, I can cut the size of the war file in half.
The question is, does this really save the size of the war in memory?
When I deploy a war with a reference to an optional package, does WLS explode the war, import the optional package, and rebuild the war for deployment so that in the end, it equates to the same size war as if I had never utilized the optional package? The documentation seems to allude to this.
I want to know (before I do all the work), if decreasing the size of the war by excluding 3rd party libraries into an optional package will actually reduce the size of memory for each war.
Thanks,
JayOne option is: use the c6/c7/c8 parameters if the INSTALL APDU. Start with a high value and work your way down. That will tell you how much mem you have.
The other option is to load an applet that allocates a large byte array. Work your way down and when it can successfuly allocate the memory, that's whats available on the card for you to use.
Third option: Get a 2.2 card and just call the API ! ! ! -
Generic Connectivity for 64-bit 10gR2 on Windows
I want to create a database link from a Windows oracle database to SQL Server 2005. The obvious solution seemed to be generic connectivity using HSODBC.
However, I don't have HDODBC.EXE in my 64-bit oracle home.
Doing some investigation, it seems that HSODBC was never supplied/supported on 64-bit windows, and the solution is to use the 11g gateways installed in a separate home and use DGODBC.EXE.
Is this correct?
HSODBC was free with 10g. Is DGODBC still free, or would I have to license it as a gateway product?Hi Jim,
yes, this is correct. You can use DG4ODBC 11.2 which is the follow up product of HSODBC and which is now available for 64bit Windows.
Like HSODBC the follow up product DG4ODBC is still for free.
You can get the latest software from "My Oracle Support" portal - look for the 11.2.0.2 patchset: 10098816: 11.2.0.2.0 PATCH SET FOR ORACLE DATABASE SERVER and make sure you've selected the 64bit Windows patchset
The Oracle Gateways software can be found in p10098816_112020_platform_5of7.zip.
Download this CD and install the gateway software into its own Oracle_home. -
Heterogeneous Services & Oracle Generic Connectivity For DBF file?
Dear All,
Can We Create dbf file directly means without using CSV file?
Can we use Heterogeneous Services & Oracle Generic Connectivity for creating dbase DBF file or Writing in dbase DBF file?
I have used it for Excel and Access for connectivity with Oracle 9i
but I dont have any idea about dbase DBF file?
Any help in this reagards will be highly appriciatalble.
Thanks
RanaHSODBC/DG4ODBC is generic connectivity and you find the generic setup in:
Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003)
There is nothing sepcial for DBF's. Just define a system ODBC DSN using a DBASE ODBC driver pointing to the DBF file.
The rest is absolute similar to the note.
If you have already a running HSODBC/DG4ODBC the quickest test is to just define a new system dsn for the DBF file, then change in the init>hsodbc/dg4odbc>.ora file the HS_FDS_CONNECT_INFO parameter pointing to the newly created system DSN. Last step is within the Oracle db to define a database link. -
Heterogeneous Services & Oracle Generic Connectivity for dbase DBF file
Dear All,
Can we use Heterogeneous Services & Oracle Generic Connectivity for creating dbase DBF file or Writing in dbase DBF file?
I have used it for Excel and Access for connectivity with Oracle 9i
but I dont have any idea about dbase DBF file?
Any help in this reagards will be highly appriciatalble.
Thanks
RanaI wouldn't think so these days ... however, you could try posting this in the heterogeneous services - which is somewhere on OTN.
If it we me, I'd convert the DBF into something easier to use with Oracle : like XML or CSV -
My shipping department uses their own packaging for our products. Currently I cannot find an option in the shipping options to tie in my package sizes to the shipping packaging options.
My shipping department uses their own packaging for our products. Currently I cannot find an option in the shipping options to tie in my package sizes to the shipping packaging options.
-
Revision: 8245
Author: [email protected]
Date: 2009-06-25 12:07:07 -0700 (Thu, 25 Jun 2009)
Log Message:
adding option (package-description-file) to specify file containing package descriptions for asdoc.
Bugs: SDK-19755
QE Notes: None.
Doc Notes: None.
Reviewed by: Paul
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-19755
Modified Paths:
flex/sdk/trunk/modules/antTasks/src/flex/ant/AsDocTask.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/ASDocConfiguration.javaRevision: 8245
Author: [email protected]
Date: 2009-06-25 12:07:07 -0700 (Thu, 25 Jun 2009)
Log Message:
adding option (package-description-file) to specify file containing package descriptions for asdoc.
Bugs: SDK-19755
QE Notes: None.
Doc Notes: None.
Reviewed by: Paul
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-19755
Modified Paths:
flex/sdk/trunk/modules/antTasks/src/flex/ant/AsDocTask.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/ASDocConfiguration.java -
Could not find symbol 'SQLAllocConnect' for generic connectivity
Hi,
I am using Oracle 10gR2 64-bit on Linux 64-bit. I am trying to connect to an MSSQL box on Windows. I know that hsodbc is officially not supported on 64-bit OS.
My connection using freetds works as well from unixODBC (verified by tsql, isql). The problem is in the next layer up - hsodbc. I copied it from a 32-bit Linux box as it was 0 bytes on 64-bit box.
Here is what I have in initSQLGUY.ora -
HS_FDS_CONNECT_INFO = sqltest
HS_FDS_TRACE_LEVEL = 4
HS_FDS_TRACE_FILE_NAME = freetds.trc
HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so
# ODBC specific environment variables
set ODBCINI=/usr/local/etc/odbc.ini
set LD_LIBRARY_PATH=/usr/local/lib:/opt/oracle/product/10.2/lib32
where sqltest is the name of my dsn. My listener.ora has -
(SID_DESC =
(SID_NAME = SQLGUY)
(ORACLE_HOME = /opt/oracle/product/10.2)
(PROGRAM = hsodbc)
(ENVS=LD_LIBRARY_PATH=/usr/local/lib:/opt/oracle/product/10.2/lib32)
My tnsnames.ora has -
sqlguyid=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=myhost.mydomain.com)(PORT=1521))
(CONNECT_DATA= (SID=SQLGUY))
(HS=OK)
with this configuration, tnsping works -
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=myhost.mydomain.com)(PORT=1521)) (CONNECT_DATA= (SID=SQLGUY)) (HS=OK))
OK (0 msec)
However my db link fails with -
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
Could not find symbol 'SQLAllocConnect' in dynamic library
DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
'/usr/local/lib/libodbc.so'
ORA-02063: preceding 3 lines from SQLGUYLNK
I am sure that others have gotten this to work in the past. I must be missing something trivial. Can anyone please point out what I need to do to get this working?
ThanksYou didn't explicite mention it, but I assume you are using a 32bit ODBC driver?
The SQLAllocConnect function is built into the ODBC driver manager which is refered in your case as: /usr/local/lib/libodbc.so
- check out this library exists and has sufficient permissins to be loaded by the Oracle user
- check out this library is 32 bit
- check out this library contains the SQLAllocConnect symbol -
Business Packages for ESS/MSS, HR Renewal and HR Administrator
Hi Experts,
Iam a basis consultant and had ew queries on the Business packages to be installed on our NW Portal system.
Currently we are on
Backend system : EHP6 FOR SAP ERP 6.0
SAP Portal : SAP NetWeaver 7.4 SR1
SAP_HR 600 0064
EA-HR 600 0064
For ESS MSS (both Generic & WDA),
1) Do we need to deploy EA-HR_MSS add-on on our backend ECC ? If yes, what would be the version ?
2) Based on the system we have, What are all Portal business packages (list) should we deploy into Portal? and sequence to follow?
we have different verions of (BP ERP05 ESS, BP ERP05 COMMON PARTS & BP ERP05 MSS ), which version has to be deployed ?
do I need mss add-on Portal business pack also??
3) Need to deploy HR Renewal and HR Administrator Business packages as well, so could you please advice what version needs to be installed ? Unable to find HR Renewal as a Business Package in the market place.
4) Any post-installation activity after importing the business packgages in portal ?
Many Thanks in Advance !!!
Regards,
Srikanth GHi Sunil,
We have configured SOLMAN system now in our landscape and connected our ECC system. But little confused in selecting the necessary packages.
Currently we are in initial shipment package of ECC6.0 EHP6
SAP_BASIS
731
0011
SAP_ABA
731
0000
PI_BASIS
731
0000
ST-PI
2008_1_700
0004
SAP_BW
731
0000
MDG_FND
731
0000
SAP_AP
700
0024
SAP_BS_FND
731
0000
WEBCUIF
731
0000
MDG_APPL
606
0000
SAP_APPL
606
0000
SAP_HR
600
0064
SAP_HRCAR
600
0064
EA-IPPE
400
0019
EA-APPL
606
0000
EA-DFPS
600
0019
EA-FINSERV
600
0019
EA-GLTRADE
600
0019
EA-HR
600
0064
EA-HRCAR
600
0064
EA-PS
600
0019
EA-RETAIL
600
0019
FINBASIS
600
0019
ECC-DIMP
600
0019
ERECRUIT
600
0019
FI-CA
600
0019
FI-CAX
600
0019
INSURANCE
600
0019
IS-CWM
600
0019
IS-H
600
0025
IS-M
600
0019
IS-OIL
600
0019
IS-PS-CA
600
0019
IS-UT
600
0019
LSOFE
600
0019
SEM-BW
600
0019
Also we need to patch our stack to the latest SP. Latest SP available in market is SP11 as we prefer n-1 we planned to go for SP10, but in MOPZ while selecting the target it gives option only for SP11 in the drop down. Any reason for it ?
As you could see our SAP-HR, EA-HR LSOFE are still in 600 release. If we select the target package in MOPZ to the latest will it upgrade the SAP_HR 600, EA-HR 600& LSOFE 600 components to SAP-HR 604, EA-HR 606, LSOFE 606 ?
If I had to install HR-Renewal 1.0 I would need EA-HR 607 and LSOFE 607, so can that be included in the same stack ?
Please advice.
Regards,
Srikanth -
Creation of Add-on package for 64 bit and 32 bit SAP Business One Client
Please help me creating package for 64 bit and 32 bit SAP Business One. If Add-on executable is compiled with x86 option then there is no issue of connecting Add-on with 32 bit SAP Business one and if Add-on executable is compiled with Any CPU option then there is no issue of connecting Add-on with 64 bit SAP Business one. Problems are mentioned as below
1. My Add-on uses MS ACCESS connection and the connection is read using Jet OLEDB 4.0 provider. It works fine for x86 compile mode but not when compile mode is Any CPU. I searched for the issue on Google and found a solution to change MS ACCESS connection provider to ACE.OLEDB.12.0 but again ACE provider is installed according to the Office version i.e. 32 bit or 64 bit office suite. If I install 32 bit ACE provider then Add-on executable compiled with x86 version is working fine but with Any CPU option throws error as provider is not registered on current machine.
2. Secodly, our license validation activex dll is build using vb 6.0 and therefore when Add-on executable is compiled using Any CPU option, Add-on EXE cannot read from license dll. Any suggestion, how the activeX dll can be compiled whose component can be created from for X86 compiled exe and any cpu compiled exe.
Please help because we are stuck in this issue and cannot move forward.
Thanks.Hi Alejandro,
That is one solution but did your add on used ms access connection? if you used Jet oledb to connection string or ace oledb connection string? what if 32 bit office is installed and what if 64 office is installed? how did you found the office version in install script? after determining the office version how did you installed Microsoft redistributable for ace oledb (32 bit or 64 bi )?
I am sorry that I asked many questions but these are the problems where I am stuck with the addon installer?
Thanks
Maybe you are looking for
-
I was working yesterday afternoon when the wifi suddenly went cold. Initially on the MacBookPro and on the ethernet connected PC. I reinitialized modem and TC through the mac and then the ethernet on the PC worked again and has since. I've reinitia
-
Connect to local SAP server from mac
I have a Windows 2008 server with SAP server software installed. i connect to it using my windows laptop through SAP logon pad . But now am using a macbook pro os x 10.8.2 and have no idea on how to connect to the my local SAP server. And i install
-
My 4s images are grainy and low res when I use google image search, imdb and a couple other apps. My photos roll pics are hi def just not images. What's up with this?
-
for some reason my canon is having focus problems even on auto focus..what is going on??
-
Set CSS class in text field ?
I understand setting text formats with setTextFormat like bold, underline, etc.. But is there a way to set a CSS class to a range of text in a text field? I'm fearing that there is not. Sunny