Generic accessories; should I b
So I was searching for some accessories for my Zen Vision M, and found some mighty cheap ones on eBay. They were being bundled in some lucrati've 8-3 item bundles for thirty dollars or less and being labeled as generic(non-OEM). They include A/V cables, wall and car chargers, skins or cases (silicone and hard crystal plastic), lanyards, LCD screen protector, FM transmitter, and a few other things.
http://cgi.ebay.com/0-items-Accessories-Bundle-for-Creative-Zen-Vision-m_W0QQitemZ702292338QQihZ007QQcategoryZ8653QQrdZQQ cmdZViewItem
Anyone had experiences with these? Worth the risk or am I being over-concerned on their reliability/quality.
A couple more questions; would anyone recommend going for direct-to-Zen plugin type accessories, ones that don't require the dongle? Do they hamper/help in any way? Also what kind of case do you guys perfer; silicone skin types, hard crystal types, or leather? I'm looking for something not to bulky, but protects well and has belt/arm clip ability.
Thanks for any respones.
-ChadMessage Edited by thepassionofcha on 06-7-200706:53 PM
...i havent any experience with the vision m...
...but i wouldnt chance it...
...i just wouldnt...
Similar Messages
-
I'm about to buy the MacBook Pro Retina 15 inch in USA. I will be using predominantly in Europe. What accessories should I be buying?
We can't discuss what Apple is going to do or new products, but it does make a lot of sense if your gut feelings tell you to buy now.
I got a really bad feeling and ran out and got the last of the 17" MBP's with anti-glare and Snow Leopard.
Turned out I was right in listening to my gut, the abortion of OS X Lion came out killed my 15", Cupertino HQ was pwned by Flashback and Apple pulled the 17" MBP completely off the market.
Apple has purposely put the Retinas front and center in their stores, so the majority of the know-nothings buy those. If they thought a bit about buying a machine with future options in upgrade options they would, like you, choose the non-Retina.
Really if you want choice in hardware, your going to have to switch to a PC. As you can pretty much get anything you need on that platform. Apple's hardware choices have been sealing up and their OS X is turning into iOS, soon it's going to be nothing more than a dumbed down iPad.
Windows 8 Pro can be downgraded to Window 7 even, and since Win 7 is supported until 2020, you should be set for quite a few more years. The choice of software is vast on Windows and it's sort of the next eveolutionary step up actually. -
Using "older" generic accessories with 3rd G nano
I have discovered that even relatively new accessories such as FM transmitters for iPods (car) and speakers with a base, do not fit the new nano. Is anyone aware of any potential "danger" in using these accessories despite the fact that the adaptors to firmly hold the new nano do not exist?
It should work just fine.
Doing it myself at home... -
What is the difference between the generic accessories and the original apple brand?
I am looking on Amazon for a new cable, wall charger, car charger, and headphones with built in mic. There were a lot of generic brands for cheap and I was wondering what the differences between the apple and the generic brands were. Also I looked on the apple store and they were selling Belkin items. Is Belkin a good brand?
Belkin a a good thrid-party manufacturer. Most generic cable work but some do not. Griffen in another good brand too.
The differences in in the quality of the parts and the quality assurance that go into making the part. -
How to specify that a generic type should implement cloneable ?
Hi everybody,
I created a map type called StringMap as such
class StringMap<V>{
HashMap<String,V> map;
and now, I want to implement the method clone() in my StringMap, for that I would like to use the method V.clone()
but I get an error saying "The method clone() from type Object is not visible". This is logical since clone() is protected in Object class. So I believe a solution would be to specify that V implements the interface Cloneable(). This tried this:
class StringMap<V implements Cloneable>{
but it doesn't work.
Do you know a way to do it ?
Thanksdubwai wrote:
r035198x wrote:
You can say <V extends Cloneable> instead.That still won't solve the root issue. The Cloneable interface has no methods and implementing it will not expose clone(). Cloneable is broken.Yep, I was hoping the OP would pick that up after that. -
If a class method exporting a value with the generic type 'data'.
Then how can I get the information?
For exmple.
cl_my_clss->get_value( exporting ev_data = .... ) .
ev_data is a type of data.
I can not use DATA : lv_mine type data. because generic data should be used in formal parameter, however , if I use a field symbol, how to assign value with out knowing the data type?
Best regards,Hi Blake,
As per my understanding,
You are getting the data type from the database table....
You want to use the same data type....
Lets say for example:
You have a db table x with field y having data type Z.
What you do is that, while declaring the data type for the attribute in the method use the reference as table_name-field_name(x-y).
Or....
use ANY. This will give you a chance to map any field type to this method....
Note: Using ANY will limit the syntax that you can use within the method......
Regards,
Kunjal -
Hi,
I need to develop a module that takes an infotype as input, does 'select * from <infotype table>' and writes data to a file. This module needs to be generic and should work for any infotype (even custom infotype).
For example, if input is PA0001, it should do 'Select * from PA0001'.
Any suggestions on how to do this?. Do i need to use field symbols?. Please let me know if you have any ideas.
Thanks,
SandeepREPORT Z_TEST.
type-pools: slis.
field-symbols: <dyn_table> type standard table,
<dyn_wa>,
<dyn_field>.
data: alv_fldcat type slis_t_fieldcat_alv,
it_fldcat type lvc_t_fcat.
type-pools : abap.
data : it_details type abap_compdescr_tab,
wa_details type abap_compdescr.
data : ref_descr type ref to cl_abap_structdescr.
data: new_table type ref to data, new_line type ref to data, wa_it_fldcat type lvc_s_fcat.
selection-screen begin of block b1 with frame title text .
parameters: p_table(30) type c.
selection-screen end of block b1.
data: test type pa0008 occurs 0.
select * from pa0008 into table test where endda = '99991231'.
Get the structure of the table.
ref_descr ?= cl_abap_typedescr=>describe_by_name( p_table ).
it_details[] = ref_descr->components[].
loop at it_details into wa_details.
clear wa_it_fldcat.
wa_it_fldcat-fieldname = wa_details-name .
wa_it_fldcat-datatype = wa_details-type_kind.
wa_it_fldcat-inttype = wa_details-type_kind.
wa_it_fldcat-intlen = wa_details-length.
wa_it_fldcat-decimals = wa_details-decimals.
append wa_it_fldcat to it_fldcat .
endloop.
Create dynamic internal table and assign to FS
call method cl_alv_table_create=>create_dynamic_table exporting
it_fieldcatalog = it_fldcat
importing
ep_table = new_table.
assign new_table->* to <dyn_table>.
Create dynamic work area and assign to FS
create data new_line like line of <dyn_table>.
assign new_line->* to <dyn_wa>.
Select Data from table.
select * into corresponding fields of table <dyn_table> from
(p_table).
*select * from
*(p_table) into corresponding fields of table <dyn_table> up to 5 rows where endda = '99991231'.
Write out data from table.
loop at <dyn_table> into <dyn_wa>.
do.
assign component sy-index of structure <dyn_wa> to <dyn_field>.
if sy-subrc <> 0. exit. endif.
if sy-index = 1.
write:/ <dyn_field>.
else.
write:
<dyn_field>.
endif.
enddo.
endloop. -
Generic Java for Oracle Data Integrator 10g (10.1.3.5.0)
Hi,
How can I install the Oracle Data Integrator Client in my MacBook. So the generic version should be the right one.
But there are versions for windows, linux, solaris, HPUX and AIX.. but no generic java version.
The version 10.1.3.4.0 has an generic version.
How can I fix this issue, since I tried the linux version but doesn't install.
Thanks.Hi,
Install the 10.1.3.4 and make an "manual install" after that. It's means copy the oracledi directory over the old oracledi directory.
There is detailed instruction on install manual...
Did you already tried this?
Cezar Santos
[www.odiexperts.com] -
How To: Use reflection to create instance of generic type?
I would like to be able to use reflection to instantiate an instance of a generic type, but can't seem to avoid getting type safety warnings from the compiler. (I'm using Eclipse 3.1.1) Here is a trivial example: suppose I want to create an instance of a list of strings using reflection.
My first guess was to write the following:
Class cls = Class.forName("java.util.ArrayList<String>");
List<String> myList = cls.newInstance();The call to Class.forName throws a ClassNotFoundException. OK, fine, so I tried this:
Class cls = Class.forName("java.util.ArrayList");
List<String> myList = cls.newInstance();Now the second line generates the warning "Type safety: The expression of type List needs unchecked conversion to conform to List<String>".
If I change the second line to
List<String> myList = (List<String>)cls.newInstance();then I get the compiler warning "Type safety: The cast from Object to List<String> is actually checking against the erased type List".
This is a trivial example that illustrates my problem. What I am trying to do is to persist type-safe lists to an XML file, and then read them back in from XML into type-safe lists. When reading them back in, I don't know the type of the elements in the list until run time, so I need to use reflection to create an instance of a type-safe list.
Is this erasure business prohibiting me from doing this? Or does the reflection API provide a way for me to specify at run time the type of the elements in the list? If so, I don't see it. Is my only recourse to simply ignore the type safety warnings?Harald,
I appreciate all your help on this topic. I think we are close to putting this thing to rest, but I'd like to run one more thing by you.
I tried something similar to your suggestion:public static <T> List<T> loadFromStorage(Class<T> clazz) {
List<T> list = new ArrayList<T>();
for ( ...whatever ...) {
T obj = clazz.newInstance();
// code to load from storage ...
list.add(obj);
return list;
}And everything is fine except for one small gotcha. The argument to this method is a Class<T>, and what I read from my XML storage is the fully qualified name of my class(es). As you pointed out earlier, the Class.forName("Foo") method will return a Class<?> rather than a Class<Foo>. Therefore, I am still getting a compiler warning when attempting to produce the argument to pass to the loadFromStorage method.
I was able to get around this problem and eliminate the compiler warning, but I'm not sure I like the way I did it. All of my persistent classes extend a common base class. So, I added a static Map to my base class:class Base
private static Map<String, Class<? extends Base>> classMap = null;
static
Map<String, Class<? extends Base>> map = new TreeMap<String, Class<? extends Base>>();
classMap = Collections.synchronizedMap(map);
public static Class<? extends Base> getClass(String name)
return classMap.get(name);
protected static void putClass(Class<? extends Base> cls)
classMap.put(cls.getName(), cls);
}And added a static initializer to each of my persistent classes:class Foo extends Base
static
Base.putClass(Foo.class);
}So now my persistence code can replace Class.forName("my.package.Foo") with Base.getClass("my.package.Foo"). Since Foo.class is of type Class<Foo>, this will give me the Class<Foo> I want instead of a Class<?>.
Basically, it works and I have no compiler warnings, but it is unfortunate that I had to come up with my own mechanism to obtain a Class<Foo> object when my starting point was the string "my.package.Foo". I think that the JDK, in order to fully support reflection with generic types, should provide a standard API for doing this. I should not have to invent my own.
Maybe it is there and I'm just not seeing it. Do you know of another way, using reflection, to get from a string "my.package.Foo" to a Class<Foo> object?
Thanks again for your help,
Gary -
Force use of accessors? (getters & setters)
How to prevent/detect the incorrect direct use of properies in cf9 e.g.
aPerson.FirstName = "Rumplestiltskin";
...when a component is rewritten to use accessors e.g.
aPerson.setFirstName("Rumplestiltskin");
e.g. a component is changed from...
Component Person {
property name="FirstName" type="string";
...to...
Component Person accessors="true" {
property name="FirstName" type="string" getter="true" setter="true";
1) Is it possible to prevent the propeties being set directly?
e.g. This should cause an error:
aPerson.FirstName = "Rumplestiltskin";
In practice, properties can still be set directly even though the component has declared that accessors should be used. I want to make this illegal im my app.
2) Is it possible to prevent the use of undeclared properties?
e.g. This should cause an error:
aPerson.ChristianName = "Rumplestiltskin"; // non-existent property
or
aPerson.furstname = "Rumplestiltskin"; // Mis-spelt property
In practice, properties can be set even if they don't exist. I want to make this illegal im my app.
3) Is it possible to intercept the direct use of properties
e.g. when this is executed...
aPerson.FirstName = "Rumplestiltskin";
..the function aPerson.setFirstName() is called
This would make it possible to solve 1), or better still, make the app backwardly compatible.
When an app is rewritten to use accessors, I don't want to have to change every instance of
aPerson.FirstName = "Rumplestiltskin";
...to...
aPerson.setFirstName("Rumplestiltskin");
...or at least, I want to be told if I've missed one.
Thanks,
JulianSystem Information
Server Details
Server Product
ColdFusion
Version
9,0,0,251028
Edition
Developer
Operating System
Windows 7
OS Version
6.1
Adobe Driver Version
4.0 (Build 0005)
JVM Details
Java Version
1.6.0_14
Java Vendor
Sun Microsystems Inc.
Java Vendor URL
http://java.sun.com/
Java Home
C:\ColdFusion9\runtime\jre
Java File Encoding
Cp1252
Java Default Locale
en_GB
File Separator
Path Separator
Line Separator
Chr(13)
User Name
XXXX
User Home
C:\
User Dir
C:\ColdFusion9\runtime\bin
Java VM Specification Version
1.0
Java VM Specification Vendor
Sun Microsystems Inc.
Java VM Specification Name
Java Virtual Machine Specification
Java VM Version
14.0-b16
Java VM Vendor
Sun Microsystems Inc.
Java VM Name
Java HotSpot(TM) Server VM
Java Specification Version
1.6
Java Specification Vendor
Sun Microsystems Inc.
Java Specification Name
Java Platform API Specification
Java Class Version
50.0
CF Server Java Class Path
;C:/ColdFusion9/runtime/../lib/activation.jar; C:/ColdFusion9/runtime/../lib/ant-launcher.jar; C:/ColdFusion9/runtime/../lib/ant.jar; C:/ColdFusion9/runtime/../lib/antlr-2.7.6.jar; C:/ColdFusion9/runtime/../lib/apache-solr-core.jar; C:/ColdFusion9/runtime/../lib/apache-solr-solrj.jar; C:/ColdFusion9/runtime/../lib/asn1.jar; C:/ColdFusion9/runtime/../lib/axis.jar; C:/ColdFusion9/runtime/../lib/backport-util-concurrent.jar; C:/ColdFusion9/runtime/../lib/bcel.jar; C:/ColdFusion9/runtime/../lib/bcmail-jdk14-139.jar; C:/ColdFusion9/runtime/../lib/bcprov-jdk14-139.jar; C:/ColdFusion9/runtime/../lib/cdo.jar; C:/ColdFusion9/runtime/../lib/cdohost.jar; C:/ColdFusion9/runtime/../lib/certj.jar; C:/ColdFusion9/runtime/../lib/cf-acrobat.jar; C:/ColdFusion9/runtime/../lib/cf-assembler.jar; C:/ColdFusion9/runtime/../lib/cf-logging.jar; C:/ColdFusion9/runtime/../lib/cf4was.jar; C:/ColdFusion9/runtime/../lib/cf4was_ae.jar; C:/ColdFusion9/runtime/../lib/cfusion-req.jar; C:/ColdFusion9/runtime/../lib/cfusion.jar; C:/ColdFusion9/runtime/../lib/clibwrapper_jiio.jar; C:/ColdFusion9/runtime/../lib/commons-beanutils-1.8.0.jar; C:/ColdFusion9/runtime/../lib/commons-codec-1.3.jar; C:/ColdFusion9/runtime/../lib/commons-collections-3.2.1.jar; C:/ColdFusion9/runtime/../lib/commons-digester-2.0.jar; C:/ColdFusion9/runtime/../lib/commons-discovery-0.4.jar; C:/ColdFusion9/runtime/../lib/commons-httpclient-3.1.jar; C:/ColdFusion9/runtime/../lib/commons-lang-2.4.jar; C:/ColdFusion9/runtime/../lib/commons-logging-1.1.1.jar; C:/ColdFusion9/runtime/../lib/commons-logging-api-1.1.1.jar; C:/ColdFusion9/runtime/../lib/commons-net-2.0.jar; C:/ColdFusion9/runtime/../lib/commons-vfs-1.0.jar; C:/ColdFusion9/runtime/../lib/crystal.jar; C:/ColdFusion9/runtime/../lib/derby.jar; C:/ColdFusion9/runtime/../lib/derbyclient.jar; C:/ColdFusion9/runtime/../lib/derbynet.jar; C:/ColdFusion9/runtime/../lib/derbyrun.jar; C:/ColdFusion9/runtime/../lib/derbytools.jar; C:/ColdFusion9/runtime/../lib/dom4j-1.6.1.jar; C:/ColdFusion9/runtime/../lib/ehcache-web.jar; C:/ColdFusion9/runtime/../lib/ehcache.jar; C:/ColdFusion9/runtime/../lib/FCSj.jar; C:/ColdFusion9/runtime/../lib/flashgateway.jar; C:/ColdFusion9/runtime/../lib/flex-messaging-common.jar; C:/ColdFusion9/runtime/../lib/flex-messaging-core.jar; C:/ColdFusion9/runtime/../lib/flex-messaging-opt.jar; C:/ColdFusion9/runtime/../lib/flex-messaging-proxy.jar; C:/ColdFusion9/runtime/../lib/flex-messaging-remoting.jar; C:/ColdFusion9/runtime/../lib/geronimo-stax-api_1.0_spec-1.0.jar; C:/ColdFusion9/runtime/../lib/hibernate3.jar; C:/ColdFusion9/runtime/../lib/httpclient.jar; C:/ColdFusion9/runtime/../lib/ib6addonpatch.jar; C:/ColdFusion9/runtime/../lib/ib6core.jar; C:/ColdFusion9/runtime/../lib/ib6http.jar; C:/ColdFusion9/runtime/../lib/ib6swing.jar; C:/ColdFusion9/runtime/../lib/ib6util.jar; C:/ColdFusion9/runtime/../lib/im.jar; C:/ColdFusion9/runtime/../lib/iText.jar; C:/ColdFusion9/runtime/../lib/iTextAsian.jar; C:/ColdFusion9/runtime/../lib/izmado.jar; C:/ColdFusion9/runtime/../lib/jai_codec.jar; C:/ColdFusion9/runtime/../lib/jai_core.jar; C:/ColdFusion9/runtime/../lib/jai_imageio.jar; C:/ColdFusion9/runtime/../lib/jakarta-oro-2.0.6.jar; C:/ColdFusion9/runtime/../lib/jakarta-slide-webdavlib-2.1.jar; C:/ColdFusion9/runtime/../lib/java2wsdl.jar; C:/ColdFusion9/runtime/../lib/jax-qname.jar; C:/ColdFusion9/runtime/../lib/jaxb-api.jar; C:/ColdFusion9/runtime/../lib/jaxb-impl.jar; C:/ColdFusion9/runtime/../lib/jaxb-libs.jar; C:/ColdFusion9/runtime/../lib/jaxb-xjc.jar; C:/ColdFusion9/runtime/../lib/jaxrpc.jar; C:/ColdFusion9/runtime/../lib/jdom-1.0.jar; C:/ColdFusion9/runtime/../lib/jeb.jar; C:/ColdFusion9/runtime/../lib/jintegra.jar; C:/ColdFusion9/runtime/../lib/jnbcore.jar; C:/ColdFusion9/runtime/../lib/jpedal.jar; C:/ColdFusion9/runtime/../lib/js.jar; C:/ColdFusion9/runtime/../lib/jsch-0.1.41m.jar; C:/ColdFusion9/runtime/../lib/jsr107cache.jar; C:/ColdFusion9/runtime/../lib/jutf7-0.9.0.jar; C:/ColdFusion9/runtime/../lib/ldap.jar; C:/ColdFusion9/runtime/../lib/ldapbp.jar; C:/ColdFusion9/runtime/../lib/log4j-1.2.15.jar; C:/ColdFusion9/runtime/../lib/lucene-analyzers.jar; C:/ColdFusion9/runtime/../lib/lucene.jar; C:/ColdFusion9/runtime/../lib/lucenedemo.jar; C:/ColdFusion9/runtime/../lib/macromedia_drivers.jar; C:/ColdFusion9/runtime/../lib/mail.jar; C:/ColdFusion9/runtime/../lib/metadata-extractor-2.4.0-beta-1.jar; C:/ColdFusion9/runtime/../lib/mlibwrapper_jai.jar; C:/ColdFusion9/runtime/../lib/msapps.jar; C:/ColdFusion9/runtime/../lib/mysql-connector-java-commercial-5.1.7-bin.jar; C:/ColdFusion9/runtime/../lib/namespace.jar; C:/ColdFusion9/runtime/../lib/nekohtml.jar; C:/ColdFusion9/runtime/../lib/ooxml-schemas.jar; C:/ColdFusion9/runtime/../lib/pdfencryption.jar; C:/ColdFusion9/runtime/../lib/poi-contrib.jar; C:/ColdFusion9/runtime/../lib/poi-ooxml.jar; C:/ColdFusion9/runtime/../lib/poi-scratchpad.jar; C:/ColdFusion9/runtime/../lib/poi.jar; C:/ColdFusion9/runtime/../lib/portlet_20.jar; C:/ColdFusion9/runtime/../lib/postgresql-8.3-604.jdbc3.jar; C:/ColdFusion9/runtime/../lib/relaxngDatatype.jar; C:/ColdFusion9/runtime/../lib/ri_generic.jar; C:/ColdFusion9/runtime/../lib/rome-cf.jar; C:/ColdFusion9/runtime/../lib/saaj.jar; C:/ColdFusion9/runtime/../lib/slf4j-api-1.5.6.jar; C:/ColdFusion9/runtime/../lib/slf4j-log4j12-1.5.6.jar; C:/ColdFusion9/runtime/../lib/smack.jar; C:/ColdFusion9/runtime/../lib/smpp.jar; C:/ColdFusion9/runtime/../lib/STComm.jar; C:/ColdFusion9/runtime/../lib/tools.jar; C:/ColdFusion9/runtime/../lib/tt-bytecode.jar; C:/ColdFusion9/runtime/../lib/vadmin.jar; C:/ColdFusion9/runtime/../lib/verity.jar; C:/ColdFusion9/runtime/../lib/vparametric.jar; C:/ColdFusion9/runtime/../lib/vsearch.jar; C:/ColdFusion9/runtime/../lib/wc50.jar; C:/ColdFusion9/runtime/../lib/webchartsJava2D.jar; C:/ColdFusion9/runtime/../lib/wsdl2java.jar; C:/ColdFusion9/runtime/../lib/wsdl4j-1.5.1.jar; C:/ColdFusion9/runtime/../lib/wsrp4j-commons-0.5-SNAPSHOT.jar; C:/ColdFusion9/runtime/../lib/wsrp4j-producer.jar; C:/ColdFusion9/runtime/../lib/xalan.jar; C:/ColdFusion9/runtime/../lib/xercesImpl.jar; C:/ColdFusion9/runtime/../lib/xml-apis.jar; C:/ColdFusion9/runtime/../lib/xmlbeans-2.3.0.jar; C:/ColdFusion9/runtime/../lib/xmpcore.jar; C:/ColdFusion9/runtime/../lib/xsdlib.jar; C:/ColdFusion9/runtime/../lib/; C:/ColdFusion9/runtime/../gateway/lib/examples.jar; C:/ColdFusion9/runtime/../gateway/lib/; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/batik-awt-util.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/batik-css.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/batik-ext.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/batik-transcoder.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/batik-util.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/commons-discovery.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/commons-logging.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/concurrent.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/flex.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/jakarta-oro-2.0.7.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/jcert.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/jnet.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/jsse.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/oscache.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/flex/jars/cfgatewayadapter.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/flex/jars/concurrent.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/flex/jars/;
Java Class Path
C:\ColdFusion9\runtime\servers\lib;
C:\ColdFusion9\runtime\servers\lib\jrun-patch.jar;
C:\ColdFusion9\runtime\..\lib\macromedia_drivers.jar;
C:\ColdFusion9\runtime\lib\cfmx_mbean.jar;
C:\ColdFusion9\runtime\..\lib\oosdk\classes;
C:\ColdFusion9\runtime\..\lib\oosdk\lib;
C:\ColdFusion9\runtime\..\lib\oosdk\lib\juh.jar;
C:\ColdFusion9\runtime\..\lib\oosdk\lib\jurt.jar;
C:\ColdFusion9\runtime\..\lib\oosdk\lib\ridl.jar;
C:\ColdFusion9\runtime\..\lib\oosdk\lib\unoil.jar;
C:\ColdFusion9\runtime\lib;
C:\ColdFusion9\runtime\lib\cfmx_mbean.jar;
C:\ColdFusion9\runtime\lib\instutil.jar;
C:\ColdFusion9\runtime\lib\java2wsdl.jar;
C:\ColdFusion9\runtime\lib\jrun-ant-tasks.jar;
C:\ColdFusion9\runtime\lib\jrun-xdoclet.jar;
C:\ColdFusion9\runtime\lib\jrun.jar;
C:\ColdFusion9\runtime\lib\jspc.jar;
C:\ColdFusion9\runtime\lib\migrate.jar;
C:\ColdFusion9\runtime\lib\oem-xdoclet.jar;
C:\ColdFusion9\runtime\lib\sniffer.jar;
C:\ColdFusion9\runtime\lib\webservices.jar;
C:\ColdFusion9\runtime\lib\wsconfig.jar;
C:\ColdFusion9\runtime\lib\wsdl2java.jar;
C:\ColdFusion9\runtime\lib\xmlscript.jar;
C:\ColdFusion9\runtime\lib\jrun.jar
Java Ext Dirs
C:\ColdFusion9\runtime\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
Printer Details
Default Printer
Printers
Microsoft XPS Document Writer
Fax
Server Information
General Settings
Timeout requests
Yes
Enable Per App Settings
Yes
Request Time Limit
3600 seconds
Use UUID for CFToken
No
Enable Whitespace Management
Yes
Disable Service Factory
No
Protect serialized JSON
No
Protect Serialized JSON Prefix
Missing Template Handler
Site-wide Error Handler
Enable HTTP status codes
Yes
Enable Global Script Protection
Yes
Default CFForm ScriptSrc Directory
/CFIDE/scripts/
Google Map Key
Maximum size of post data
100 MB
Request Throttle Threshold
4 MB
Request Throttle Memory
200 MB
Request Tuning
Simultaneous request limit
10
Flash Remoting request limit
5
Web Service request limit
5
CFC request limit
10
CFThread Pool Size
10
Maximum number of report threads
8
Request Queue Timeout
60 seconds
Request Queue Timeout Page
Maximum number of running JRun threads
50
Maximum number of queued JRun threads
1000
Caching
Template cache size
1024 templates
Enable trusted cache
No
Cached query limit
100
Save Class Files
Yes
Cache web server paths
No
Client Variable Settings
Default client variable store
Registry
Client Stores
Registry
Type
REGISTRY
Description
System registry.
Purge data after time limit
Yes
Time limit
90 days
Disable global updates
No
Cookie
Type
COOKIE
Description
Client based text file.
Purge data after time limit
Yes
Time limit
10 days
Disable global updates
No
Memory Variables
J2EE Sessions
No
Application Variables
Enable Application Variables
Yes
Default Timeout
2,0,0,0
Maximum Timeout
2,0,0,0
Session Variables
Enable session variables
Yes
Default Timeout
0,0,20,0
Maximum Timeout
2,0,0,0
ColdFusion Mappings
/gateway
C:\ColdFusion9\gateway\cfc
/CFIDE
C:\inetpub\wwwroot\CFIDE
Mail Connection Settings
Default Server Port
587
Connection Timeout
60 seconds
Spool Interval
15 seconds
Mail Delivery Threads
10
Maintain Connection to Mail Server
No
Spool Messages To
disk
Max Messages Spooled to Memory
50000
Default CFMail Charset
UTF-8
Use SSL Connection
No
Use TLS
Yes
Default Mail Server
smtp.gmail.com
Server
smtp.gmail.com
Port
587
Username
XXXX
Password
not shown
Mail Logging Settings
Log Severity
warning
Log all E-mail messages sent by ColdFusion
No
Charting
Cache Type
disk images
Maximum number of images in cache
50 images
Maximum number of charting threads
4
Disk cache location
C:\ColdFusion9\charting\cache
Java and JVM
Java virtual machine path
C:/ColdFusion9/runtime/jre
Initial memory size
MB
Maximum memory size
512 MB
Class path
-Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{appli cation.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/cfform/jars,{applicatio n.home}/../wwwroot/WEB-INF/flex/jars
JVM arguments
-server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib
Debugging & Logging
Debugging Settings
Enable debugging
Yes
Enable Robust Exception Information
Yes
Display format
classic.cfm
Execution times
Yes
Execution time format
summary
Execution time highlight threshold
250 ms
Database activity
Yes
Exception information
Yes
Tracing information
Yes
Timer Information
Yes
Variables
Yes
Variables
Application
Yes
CGI
Yes
Client
Yes
Cookie
Yes
Form
Yes
Request
Yes
Server
Yes
Session
Yes
URL
Yes
Debugging IP Addresses
Debugging IP Address Restrictions
127.0.0.1
0:0:0:0:0:0:0:1
Line Debugger Settings
Allow Line Debugging
NO
Debugger Port
5005
Max Simultaneous Debugging Sessions
5
Logging Settings
Log directory
C:\ColdFusion9\logs
Maximum file size
5000 KB
Maximum number of archives
10
Log slow pages
No
Slow page time limit
30 seconds
Log CORBA calls
No
Log scheduled tasks
No
Schedule Tasks & Probes
Scheduled Tasks
System Probes
Extensions
Java Applets
CFX Tags
Custom Tag Paths
C:\ColdFusion9/CustomTags
CORBA
Selected connector
[ none]
Connectors
Event Gateways
Settings
Enable Event Gateway
Yes
Thread Pool Size
1
Max Queue Size
10
Gateway Types
SMS
Description
Handles SMS text messaging
Class
coldfusion.eventgateway.sms.SMSGateway
Timeout
30 seconds
Kill On Timeout
Yes
XMPP
Description
Handles XMPP instant messaging
Class
coldfusion.eventgateway.im.XMPPGateway
Timeout
30 seconds
Kill On Timeout
Yes
SAMETIME
Description
Handles Lotus SAMETIME instant messaging
Class
coldfusion.eventgateway.im.SAMETIMEGateway
Timeout
30 seconds
Kill On Timeout
Yes
DirectoryWatcher
Description
Watches a directory for file changes
Class
examples.watcher.DirectoryWatcherGateway
Timeout
30 seconds
Kill On Timeout
Yes
Socket
Description
Listens on a socket
Class
examples.socket.SocketGateway
Timeout
30 seconds
Kill On Timeout
Yes
CFML
Description
Handles asynchronous events through CFCs
Class
coldfusion.eventgateway.cfml.CfmlGateway
Timeout
30 seconds
Kill On Timeout
Yes
JMS
Description
Handles Java Messaging Service messages
Class
examples.JMS.JMSGateway
Timeout
30 seconds
Kill On Timeout
Yes
ActiveMQ
Description
Handles Apache ActiveMQ JMS messages
Class
examples.ActiveMQ.JMSGateway
Timeout
30 seconds
Kill On Timeout
Yes
DataServicesMessaging
Description
Handles Data Services Messaging messages
Class
coldfusion.eventgateway.flex.FlexMessagingGateway
Timeout
30 seconds
Kill On Timeout
No
FMS
Description
Handles Flash Media Server shared objects
Class
coldfusion.eventgateway.fms.FMSGateway
Timeout
30 seconds
Kill On Timeout
Yes
DataManagement
Description
Notifies Data Management Services of data changes
Class
coldfusion.eventgateway.flex.FlexDataManagementGateway
Timeout
30 seconds -
Covariant return types over Generic return types.
Feeling rather slow on the uptake having only just discovered covariant return types (thanks again cowwoc), I've been looking over one of our soon to be released APIs and think using covariants makes muchos sense for it but there's one issue:
public interface Foo {
Foo get();
public interface Bar {
Bar get();
public interface FooBar
extends Foo, Bar {
FooBar get();
}Which isn't allowed, as the compiler states the return types are incompatible (I think incorrectly as it's been further overridden). Its generic equivalent is:
public interface FooX<T> {
T get();
public interface BarX<T> {
T get();
public interface FooBarX
extends FooX<FooBarX>, BarX<FooBarX> {
FooBarX get();
}Which works, and well, but the extra hassle of declaring/using generics is turning out to be a pain for our users (this pattern is used extensively). Does anyone have any simple suggestions/recommendations to resolve either the covariant issue or simplify the generics one? Also does anyone have any preferences to which one they prefer (and why)?
Incidentally does anyone know the the rationale behind not allowing the first example, when clearly it can't be abused (can it)?BobDavies wrote:
. it is because you can not override a method or its definition with the same signatur, which does not include return type.What do you mean "does not include return type"?
method signature does not count the return type. i think java does allow you to repeat definitions in a sub class but when you put up a different retyrn type, it sees it as an attempt to do overriding, so it flags it out.
the fact that it works is becuase you are not extending anything but itsself:I am aware of the reasons for the Generic version working, it achieves our aim, I just don't like it when in use. And was wondering why the joining covariants do not work. I still can't see the reason for the FooBar not being allowed when you are allowed to return subtypes. You cannot break the inheritance/return types expectations like this can you? E.g. if I write a bit of code using Foo, it will still work with FooBar, and the same with Bar using FooBar, no? Can you show me an example of why this isn't allowed?your generic version should NOT work either; it is working becuase you are confused:
public interface FooBarX extends FooX<FooBarX>, BarX<FooBarX> only equals to
public interface FooBarX extends FooBarX, FooBarX -
Hi, I am trying to make a class which has some generic fields. I understand that it would not work just like that as the compiler has no way what the generic fields should actually be in a static context.
I want to use the generic class as an abstract class which would be extended, so that way the generics should be resolvable. Is there any way to make this work this way or should I not use generics and go type unsafe?
This is what I want to do in code:
abstract class ClassToBeExtended<A>
static A a;
class UsingTheOther extends ClassToBeExtended<String> {}It is supposed to be a class that adds relations between other classes:
// Simplified
class RelationBetweenAandB extends TheClass<A, B> {}
class SomeOtherClass
void foo()
A a = new A();
B b1 = new B();
B b2 = new B();
RelationBetweenAandB.add(a, b1);
RelationBetweenAandB.add(a, b2);
new YetAnotherClass().listRelationsOf(a);
class YetAnotherClass
public void listRelationsOf(A a)
for (B b : RelationBetweenAandB.allRhs(a))
; // Iterate through b1 and b2
}Having static fields will make the relation useful from anywhere in the application, if it is not static then all the objects that are going to be used in a relation have to instantiate the class which wlll probably introduce a lot of overhead.
abstract class SomeClass<A extends OtherClass>
static OtherClass a;
} Would require me to have Object in stead of OtherClass because I want all types of object to be in a relation, which is what I meant by going type unsafe :)
Message was edited by:
SavageNLD
Added some more reasoning about why I want static fields -
Hi everyone, a general question as I'm new SAP BW world
which extraction method is used most in the market
2nd question is we use Generic to Extract data from two or more tables but I can also use generic for one table (I think not because that's why we have LO ?)
Let me know, thanks DaveHi..
in Application Specific there are two divison..
<b>Customer Generated Extractors and
BW Content Extractors in this LO COCKPIT</b>
Cross Application-----Generic Extractors.. in this we have db view ..info set and function module
Logistics Customizing Cockpit provides a simplified way to extract logistics data and transfer it to SAP Business Information Warehouse.
As shown in the figure the document data for various applications like Customer order, delivery and billing is first transferred to various Communication Structures.
These communication structures are used to form various extract structures in R/3 which consist of various DataSources like 2LIS_11_VAHDR, 2LIS_11_VAITM etc.
These DataSources then can be replicated to BW and assigned to Infosources.
Then by creating transfer rules and update rules and defining the transformation the data is loaded into various data targets like InfoCube and ODS, thus available for reporting.
There are four Update Modes in LO Extraction
Serialized V3 Update
Direct Delta
Queued Delta
Un-serialized V3 Update
Simple Handling
BW Customizing Cockpit: Central, single, maintenance tool for Logistics applications No LIS functionality: No knowledge of LIS Customizing update settings, etc, required
Function enhancement: Creating simply and without modifications
Others
Delta tables (SnnnBIW1/-2): duplicated update, duplicated data storage
Generic Extractors are Cross Application Extractors used in scenarios where the other type of extractors are unavailable.
Generic extractors are of three types:
Based on Database view/Table
Based on InfoSet
Based on Function Module
When should you use generic extractors should be used ...
Business Content does not contain a DataSource for your application.
The application does not feature its own generic delta extraction method
You are using your own programs in SAP R/3 to populate the tables
The tools for generic data extraction can be used to generate an extractor for all applications.
with regards, -
Something which makes me wonder: When I use own generic classes in a raw manner, I usually get the following warning:
Type safety: The method myMethod() belongs to the raw type Generic. References to generic type Generic<T> should be parameterizedWhen using generic classes from the JDK, e.g. List or Map, I do not get any warning. Where is the trick? :)
Is it possible to define or annotate methods of a class to not warn on raw usage? For example, when having a method in Generic<T>, that does not operate on T.
Thanks,
StefanWell, I did not think, that code would be necessary to understand my question. And after some testing in order to reply here, I think, I may have fallen for an eclipse bug. If so, please let me know :)
The following example might be semantically useless, but I wanted to point out my issue.
Say we have the following custom class:
public class Generic<T> {
public int size() {
return 0;
}And a testing class:
public class Test {
public void testList(ArrayList aList) {
aList.size();
public void testGeneric(Generic aGeneric) {
aGeneric.size();
}Now, in eclipse I get a warning for "aGeneric.size()" but none for "aList.size()". Although, in my opinion, each call operates on a raw type. Using javac from shell does not produce any warning, so it might be eclipse.
As a note: I know and appreciate warnings been thrown for generics. But in some cases, there is no need for warnings. For example, if a method's signature is independent of the generic's parametrization, hence the method is not "raw".
If Java 5 already does that, I have to blame eclipse and myself for not thoroughly testing out before posting. :)
Thanks,
Stefan -
In coding with java 5, I found I could not use Java 5 generic for all cases. For example, JAAS define a LoginModule interface as following
boolean abort()
boolean commit()
void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
Initialize this LoginModule.
boolean login()
boolean logout()
In initialize method, the login module should hold the reference to sharedState parameter and in its login method, the module put values into sharedState object to allow other login modules to share states. For example, If I would like to share password with other module, I should be able to do the following
sharedState.put("javax.security.auth.login.password", password);
But the java 5 compiler, says I can't put value into the sharedState map since ? is a wildtype.
Any one can tell me how to put values into the map Map<String, ?>.
Or If java has some good solution for this.
thanks in advance.
haominghao wrote:
I agree with you. If the semantics of java generic ? is not reworked, then the login module interface definition is not right.More precisely: if neither the semantics of ? nor the LoginModule interface is changed then the LoginModule interface doesn't make a lot of sense as it is.
But I think the semantics of java generic ? should be reworked.Why? Simply because a single interface is ill-designed?
If we changed the semantics of Map<String, ?> to allow .put() to be called, then a lot of code that depends on that semantics would break.
And if you want a Map from String to any object type, then simply use a Map<String, Object>. That's what it's there for.
It should loose some restrictiions if there's some type explicitly defined, such as Map<String, ?> if Key's type is explicitly defined, then the value could be added by using wildcard.I don't really get what you want. But I think you need to get a deeper understanding of generics. The two parameters of the Map interface (K and V, if I remember correctly) are completely unrelated.
You could give the same example with Collection<?>: It doesn't make any guarantees about the type it returns (i.e. it returns plain Objects) and doesn't accept any calls to add() because you can't possibly fullfil the type-requirements of the wildcard type.
Those are perfectly acceptable, fine and useful semantics. I see no need to change that.
Maybe you are looking for
-
Doubt in creating program to display application logs
Hi, I have doubt in creating a program to display application logs. The standard transaction code SLG1 has been used to display Application logs till now by the user. They came up with the new requirement on this. <u>The requirements were:</u> 1)New
-
Can't start FM 9 on Windows 7: "cannot initialize dictionaries"
I am trying to move a copy of FM 9 from an old laptop to a new one running Windows 7 Enterprise. My IT guy reinstalled the software from CD and applied my license key. When I try to start FM, it gives this error during the "Core" startup: "FrameMaker
-
Insufficient Data for an Image error with Adobe CONVERT_OTFSPOOLJOB_2_PDF
We are using the standard function module CONVERT_OTFSPOOLJOB_2_PDF to print a standard invoice to the spool and convert it to a PDF. This PDF is displayed on the web by directing the output of this function module to Adobe Reader. We are having a pr
-
Formula node_Integer Values
Hi everybody, I want to make measurements in a frequency sweep range, so I take the range between 10^5 to 10^8 Hz. In this range I give 50 measuremnts to be done. All ok so far but the values chosen in this range are not integer numbers. Is anybody k
-
Firefox 13 + Adobe Reader not showing embed PDF
Firefox 13 is not showig the embed PDFs in a Webpage until I change the tab or I open the PDF containing page in new tab or new page. Most its happening after first time opening. You can check it here: http://acroeng.adobe.com/Test_Files/embedded/emb